Also change git-ssb hostname in nginx

This commit is contained in:
Bob Mottram 2017-12-16 18:57:41 +00:00
parent 0653eae160
commit 3b952162cb
1 changed files with 2 additions and 0 deletions

View File

@ -508,7 +508,9 @@ function start {
fi
sed -i "s|\"host\":.*|\"host\": \"${HOSTNAME}.local\",|g" /etc/scuttlebot/.ssb/config
sed -i "s|server_name .*|server_name ${HOSTNAME}.local;|g" /etc/nginx/sites-available/git_ssb
systemctl restart scuttlebot
systemctl restart nginx
verify
}