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

Create ssb subdirectory

parent 65213aab
No related branches found
No related tags found
No related merge requests found
......@@ -322,19 +322,9 @@ EOF
systemctl daemon-reload
systemctl start scuttlebot.service
# wait for the config to be created
scuttlebot_ctr=10
until [ $scuttlebot_ctr -gt 0 ]; do
if [ -d /etc/scuttlebot/.ssb ]; then
break
fi
sleep 3
scuttlebot_ctr=$((scuttlebot_ctr-1))
done
if [ ! -d /etc/scuttlebot/.ssb ]; then
echo $'Scuttlebot config not generated'
exit 73528
mkdir /etc/scuttlebot/.ssb
chown -R scuttlebot:scuttlebot /etc/scuttlebot/.ssb
fi
SCUTTLEBOT_ONION_HOSTNAME=$(add_onion_service scuttlebot 80 ${SCUTTLEBOT_ONION_PORT})
......
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