From a7af6e41d2b000df301ebad8c78e61d493bf6fa5 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Sun, 12 Nov 2017 17:40:47 +0100 Subject: nc-nextcloud: restart php after redis --- changelog.md | 4 +++- etc/nextcloudpi-config.d/nc-nextcloud.sh | 7 +++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 87d2ecbb..1a8c25f0 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v0.34.8 ](https://github.com/nextcloud/nextcloudpi/commit/78abdf1) (2017-11-12) nc-init: install notifications +[v0.34.9](https://github.com/nextcloud/nextcloudpi/commit/7e0e4e0) (2017-11-12) nc-nextcloud: restart php after redis + +[v0.34.8 ](https://github.com/nextcloud/nextcloudpi/commit/d0782ed) (2017-11-12) nc-init: install notifications [v0.34.7 ](https://github.com/nextcloud/nextcloudpi/commit/638ff3c) (2017-11-12) redis: fix update bug diff --git a/etc/nextcloudpi-config.d/nc-nextcloud.sh b/etc/nextcloudpi-config.d/nc-nextcloud.sh index 3d8825ac..a7d42d9f 100644 --- a/etc/nextcloudpi-config.d/nc-nextcloud.sh +++ b/etc/nextcloudpi-config.d/nc-nextcloud.sh @@ -58,6 +58,13 @@ install() [[ "$DOCKERBUILD" != 1 ]] && systemctl restart redis-server [[ "$DOCKERBUILD" != 1 ]] && systemctl enable redis-server + + # need to restart php + systemctl stop php7.0-fpm + systemctl stop mysqld + sleep 0.5 + systemctl start php7.0-fpm + systemctl start mysqld } configure() -- cgit v1.2.3