diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/ncp-config.d/nc-limits.sh | 4 | ||||
-rw-r--r-- | etc/ncp-config.d/nc-nextcloud.sh | 4 | ||||
-rw-r--r-- | etc/ncp-config.d/nc-restore.sh | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/etc/ncp-config.d/nc-limits.sh b/etc/ncp-config.d/nc-limits.sh index defced0f..42442e81 100644 --- a/etc/ncp-config.d/nc-limits.sh +++ b/etc/ncp-config.d/nc-limits.sh @@ -31,10 +31,10 @@ configure() # need to restart php 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 & # redis max memory diff --git a/etc/ncp-config.d/nc-nextcloud.sh b/etc/ncp-config.d/nc-nextcloud.sh index 91e36583..f4bb8d61 100644 --- a/etc/ncp-config.d/nc-nextcloud.sh +++ b/etc/ncp-config.d/nc-nextcloud.sh @@ -74,10 +74,10 @@ install() # need to restart php 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 } # service to randomize passwords on first boot 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 |