Fixing stuff
This commit is contained in:
parent
1dac2d77aa
commit
494ffdbc98
|
@ -5648,7 +5648,7 @@ function install_web_server {
|
|||
if grep -q "Nginx-ensite commit" $COMPLETION_FILE; then
|
||||
CURRENT_NGINX_ENSITE_COMMIT=$(grep "Nginx-ensite commit" $COMPLETION_FILE | awk -F ':' '{print $2}')
|
||||
if [[ "$CURRENT_NGINX_ENSITE_COMMIT" != "$NGINX_ENSITE_COMMIT" ]]; then
|
||||
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs
|
||||
$INSTALL_DIR/nginx_ensite
|
||||
git stash
|
||||
git checkout master
|
||||
git pull
|
||||
|
@ -6343,8 +6343,8 @@ quit" > $INSTALL_DIR/batch.sql
|
|||
echo $'Added onion site for Owncloud'
|
||||
fi
|
||||
|
||||
service php5-fpm restart
|
||||
service nginx restart
|
||||
systemctl restart php5-fpm
|
||||
systemctl restart nginx
|
||||
systemctl restart tor
|
||||
sleep 2
|
||||
|
||||
|
@ -6672,8 +6672,8 @@ quit" > $INSTALL_DIR/batch.sql
|
|||
echo $'Added onion site for Gogs'
|
||||
fi
|
||||
|
||||
service php5-fpm restart
|
||||
service nginx restart
|
||||
systemctl restart php5-fpm
|
||||
systemctl restart nginx
|
||||
systemctl restart tor
|
||||
sleep 2
|
||||
|
||||
|
@ -8762,9 +8762,9 @@ quit" > $INSTALL_DIR/batch.sql
|
|||
echo $'Added onion site for Hubzilla'
|
||||
fi
|
||||
|
||||
service php5-fpm restart
|
||||
service nginx restart
|
||||
service cron restart
|
||||
systemctl restart php5-fpm
|
||||
systemctl restart nginx
|
||||
systemctl restart cron
|
||||
systemctl restart tor
|
||||
sleep 2
|
||||
|
||||
|
@ -9018,8 +9018,8 @@ function install_mediagoblin {
|
|||
fi
|
||||
|
||||
nginx_ensite $MEDIAGOBLIN_DOMAIN_NAME
|
||||
service php5-fpm restart
|
||||
service nginx restart
|
||||
systemctl restart php5-fpm
|
||||
systemctl restart nginx
|
||||
/usr/sbin/nginx -s reload
|
||||
|
||||
# update the dynamic DNS
|
||||
|
|
Loading…
Reference in New Issue