Skip to content
Snippets Groups Projects
Commit db05c336 authored by Bob Mottram's avatar Bob Mottram
Browse files

Add some restarts

parent 49f09414
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment