Wait longer when initialising scuttlebot pub on mesh peer
This commit is contained in:
parent
bafaec7e67
commit
df33a12702
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue