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

Wait longer when initialising scuttlebot pub on mesh peer

parent bafaec7e
No related branches found
No related tags found
No related merge requests found
......@@ -1292,10 +1292,11 @@ function initialise_scuttlebot_pub {
systemctl daemon-reload
systemctl start scuttlebot.service
sleep 3
sleep 10
if [ ! -d /etc/scuttlebot/.ssb ]; then
echo $'Scuttlebot config not generated' >> /var/log/${PROJECT_NAME}.log
systemctl status scuttlebot -l >> /var/log/${PROJECT_NAME}.log
exit 73528
fi
......@@ -1320,6 +1321,7 @@ function initialise_scuttlebot_pub {
echo '}' >> /etc/scuttlebot/.ssb/config
chown scuttlebot:scuttlebot /etc/scuttlebot/.ssb/config
systemctl restart scuttlebot.service
echo "scuttlebot pub started" >> /var/log/${PROJECT_NAME}.log
}
# whether to reset the identity
......
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