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

Also change git-ssb hostname in nginx

parent 0653eae1
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
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