From 865ad0836b6eb864fc19c3e6af896b10ff873b3b Mon Sep 17 00:00:00 2001 From: nachoparker Date: Tue, 19 Jun 2018 05:37:44 +0200 Subject: fix mysqld service named mysql --- etc/ncp-config.d/nc-limits.sh | 4 ++-- etc/ncp-config.d/nc-nextcloud.sh | 4 ++-- etc/ncp-config.d/nc-restore.sh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'etc') 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 -- cgit v1.2.3