Only enable git ssb if installed
This commit is contained in:
parent
49541c630c
commit
0fb0010f14
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue