Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2017-09-04 18:09:17 +0300
committernachoparker <nacho@ownyourbits.com>2017-09-04 18:31:40 +0300
commit6a2dd48addd55bffe9da5f9d287a12836ea212e3 (patch)
treed26455707b3913194a070eb930aae4135cb9e1b2
parent997f610af950a77f809a9ab61df648d6008670f0 (diff)
ncp-web: disable PHP restart in update, (doesnt work) (#176)v0.26.6
-rwxr-xr-xupdate.sh17
1 files changed, 10 insertions, 7 deletions
diff --git a/update.sh b/update.sh
index 439691c1..0aca4fdd 100755
--- a/update.sh
+++ b/update.sh
@@ -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
#