diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-06-19 06:37:44 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-06-19 06:38:41 +0300 |
commit | 865ad0836b6eb864fc19c3e6af896b10ff873b3b (patch) | |
tree | 4199f38cb986451584fbc269fe5a58be9f2acb84 /etc | |
parent | 1a9a53fce36d6b1f68b75eb861759e1adc85ba36 (diff) |
fix mysqld service named mysqlv0.57.6
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 |