Only enable git ssb if installed

This commit is contained in:
Bob Mottram 2017-12-16 13:05:42 +00:00
parent 49541c630c
commit 0fb0010f14
1 changed files with 3 additions and 1 deletions

View File

@ -1324,7 +1324,9 @@ function initialise_scuttlebot_pub {
echo "scuttlebot pub started" >> /var/log/${PROJECT_NAME}.log
# git ssb site
ln -s /etc/nginx/sites-available/git_ssb /etc/nginx/sites-enabled/git_ssb
if [ -f /etc/nginx/sites-available/git_ssb ]; then
ln -s /etc/nginx/sites-available/git_ssb /etc/nginx/sites-enabled/git_ssb
fi
}
# whether to reset the identity