Add some restarts
This commit is contained in:
parent
49f094140c
commit
db05c3364f
|
@ -59,6 +59,7 @@ function install_i2p {
|
|||
|
||||
apt-get update
|
||||
apt-get -yq install i2p i2p-keyring
|
||||
systemctl restart i2p
|
||||
}
|
||||
|
||||
function remove_i2p {
|
||||
|
@ -84,6 +85,10 @@ function remove_i2p {
|
|||
}
|
||||
|
||||
function i2p_enable_sam {
|
||||
if [ ! -f /var/lib/i2p/i2p-config/clients.config ]; then
|
||||
systemctl restart i2p
|
||||
sleep 10
|
||||
fi
|
||||
if [ ! -f /var/lib/i2p/i2p-config/clients.config ]; then
|
||||
echo $'File not found /var/lib/i2p/i2p-config/clients.config'
|
||||
exit 483648364834
|
||||
|
|
Loading…
Reference in New Issue