|
@@ -872,6 +872,7 @@ function mesh_amnesic {
|
872
|
872
|
function mesh_restart_daemons {
|
873
|
873
|
systemctl restart avahi-daemon
|
874
|
874
|
systemctl restart tox-bootstrapd
|
|
875
|
+ systemctl restart nginx
|
875
|
876
|
echo $'Daemons restarted' >> $INSTALL_LOG
|
876
|
877
|
}
|
877
|
878
|
|
|
@@ -1325,6 +1326,7 @@ function initialise_scuttlebot_pub {
|
1325
|
1326
|
|
1326
|
1327
|
# git ssb site
|
1327
|
1328
|
if [ -f /etc/nginx/sites-available/git_ssb ]; then
|
|
1329
|
+ sed -i "s|server_name .*|server_name ${HOSTNAME}.local;|g" /etc/nginx/sites-available/git_ssb
|
1328
|
1330
|
ln -s /etc/nginx/sites-available/git_ssb /etc/nginx/sites-enabled/git_ssb
|
1329
|
1331
|
fi
|
1330
|
1332
|
}
|