@@ -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