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

Run scuttlebot on mesh peers if git-ssb is enabled

parent 0fb0010f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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