Skip to content

Commit

Permalink
ncp-web: disable PHP restart in update, (doesnt work) (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Sep 4, 2017
1 parent 997f610 commit 6a2dd48
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions update.sh
Expand Up @@ -111,13 +111,16 @@ EOF
# remove default config file in stretch
rm -f /etc/apt/apt.conf.d/20auto-upgrades

# restart PHP
sleep 3
systemctl stop php7.0-fpm
systemctl stop mysqld
sleep 0.5
systemctl start php7.0-fpm
systemctl start mysqld
# restart PHP to get updates in the ncp-web
# FIXME: php doesn't come up if run from ncp-web
#(
#sleep 3
#systemctl stop php7.0-fpm
#systemctl stop mysqld
#sleep 0.5
#systemctl start php7.0-fpm
#systemctl start mysqld
#) &>/dev/null &

# License
#
Expand Down

0 comments on commit 6a2dd48

Please sign in to comment.