Run scuttlebot on mesh peers if git-ssb is enabled
This commit is contained in:
parent
0fb0010f14
commit
5ed6ef6483
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue