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-restore.sh')
-rw-r--r--etc/ncp-config.d/nc-restore.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/ncp-config.d/nc-restore.sh b/etc/ncp-config.d/nc-restore.sh
index 044811ae..25910e46 100644
--- a/etc/ncp-config.d/nc-restore.sh
+++ b/etc/ncp-config.d/nc-restore.sh
@@ -159,10 +159,10 @@ bash /usr/local/bin/nextcloud-domain.sh
[[ "$NEED_RESTART" == "1" ]] && \
bash -c " sleep 3
service php7.0-fpm stop
- service mysqld stop
+ service mysql stop
sleep 0.5
service php7.0-fpm start
- service mysqld start
+ service mysql start
" &>/dev/null &
EOF
chmod +x /usr/local/bin/ncp-restore