diff --git a/src/freedombone-mesh-batman b/src/freedombone-mesh-batman index 63015531..beb688a4 100755 --- a/src/freedombone-mesh-batman +++ b/src/freedombone-mesh-batman @@ -483,7 +483,11 @@ function start { sed -i "s|\"host\": .*|\"host\": \"$(get_ipv4_wlan)\",|g" /etc/scuttlebot/.ssb/config systemctl restart scuttlebot else - systemctl stop scuttlebot + if [ ! -f /etc/nginx/sites-available/git_ssb ]; then + systemctl stop scuttlebot + else + systemctl restart scuttlebot + fi fi fi