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:
Diffstat (limited to 'etc/ncp-config.d/nc-nextcloud.sh')
-rw-r--r--etc/ncp-config.d/nc-nextcloud.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/etc/ncp-config.d/nc-nextcloud.sh b/etc/ncp-config.d/nc-nextcloud.sh
index 848d0ca5..afcc7f71 100644
--- a/etc/ncp-config.d/nc-nextcloud.sh
+++ b/etc/ncp-config.d/nc-nextcloud.sh
@@ -76,12 +76,7 @@ install()
[[ ! -f /.ncp-image ]] && {
systemctl restart redis-server
systemctl enable redis-server
-
- systemctl stop php${PHPVER}-fpm
- systemctl stop mysql
- sleep 0.5
- systemctl start php${PHPVER}-fpm
- systemctl start mysql
+ systemctl restart php${PHPVER}-fpm
}
# service to randomize passwords on first boot