diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-09-04 18:09:17 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-09-04 18:31:40 +0300 |
commit | 6a2dd48addd55bffe9da5f9d287a12836ea212e3 (patch) | |
tree | d26455707b3913194a070eb930aae4135cb9e1b2 | |
parent | 997f610af950a77f809a9ab61df648d6008670f0 (diff) |
ncp-web: disable PHP restart in update, (doesnt work) (#176)v0.26.6
-rwxr-xr-x | update.sh | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -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 # |