|
@@ -5648,7 +5648,7 @@ function install_web_server {
|
5648
|
5648
|
if grep -q "Nginx-ensite commit" $COMPLETION_FILE; then
|
5649
|
5649
|
CURRENT_NGINX_ENSITE_COMMIT=$(grep "Nginx-ensite commit" $COMPLETION_FILE | awk -F ':' '{print $2}')
|
5650
|
5650
|
if [[ "$CURRENT_NGINX_ENSITE_COMMIT" != "$NGINX_ENSITE_COMMIT" ]]; then
|
5651
|
|
- cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs
|
|
5651
|
+ $INSTALL_DIR/nginx_ensite
|
5652
|
5652
|
git stash
|
5653
|
5653
|
git checkout master
|
5654
|
5654
|
git pull
|
|
@@ -6343,8 +6343,8 @@ quit" > $INSTALL_DIR/batch.sql
|
6343
|
6343
|
echo $'Added onion site for Owncloud'
|
6344
|
6344
|
fi
|
6345
|
6345
|
|
6346
|
|
- service php5-fpm restart
|
6347
|
|
- service nginx restart
|
|
6346
|
+ systemctl restart php5-fpm
|
|
6347
|
+ systemctl restart nginx
|
6348
|
6348
|
systemctl restart tor
|
6349
|
6349
|
sleep 2
|
6350
|
6350
|
|
|
@@ -6672,8 +6672,8 @@ quit" > $INSTALL_DIR/batch.sql
|
6672
|
6672
|
echo $'Added onion site for Gogs'
|
6673
|
6673
|
fi
|
6674
|
6674
|
|
6675
|
|
- service php5-fpm restart
|
6676
|
|
- service nginx restart
|
|
6675
|
+ systemctl restart php5-fpm
|
|
6676
|
+ systemctl restart nginx
|
6677
|
6677
|
systemctl restart tor
|
6678
|
6678
|
sleep 2
|
6679
|
6679
|
|
|
@@ -8762,9 +8762,9 @@ quit" > $INSTALL_DIR/batch.sql
|
8762
|
8762
|
echo $'Added onion site for Hubzilla'
|
8763
|
8763
|
fi
|
8764
|
8764
|
|
8765
|
|
- service php5-fpm restart
|
8766
|
|
- service nginx restart
|
8767
|
|
- service cron restart
|
|
8765
|
+ systemctl restart php5-fpm
|
|
8766
|
+ systemctl restart nginx
|
|
8767
|
+ systemctl restart cron
|
8768
|
8768
|
systemctl restart tor
|
8769
|
8769
|
sleep 2
|
8770
|
8770
|
|
|
@@ -9018,8 +9018,8 @@ function install_mediagoblin {
|
9018
|
9018
|
fi
|
9019
|
9019
|
|
9020
|
9020
|
nginx_ensite $MEDIAGOBLIN_DOMAIN_NAME
|
9021
|
|
- service php5-fpm restart
|
9022
|
|
- service nginx restart
|
|
9021
|
+ systemctl restart php5-fpm
|
|
9022
|
+ systemctl restart nginx
|
9023
|
9023
|
/usr/sbin/nginx -s reload
|
9024
|
9024
|
|
9025
|
9025
|
# update the dynamic DNS
|