From 2de91680552cf8f20cb8bfc8ae879f96784c906f Mon Sep 17 00:00:00 2001 From: nicedevil007 <17103076+nicedevil007@users.noreply.github.com> Date: Thu, 28 Sep 2023 15:25:13 +0200 Subject: [PATCH] start php-fpm once and change ownership afterwards --- install/alpine-nextcloud-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/alpine-nextcloud-install.sh b/install/alpine-nextcloud-install.sh index c554b0e2..d151e3a3 100644 --- a/install/alpine-nextcloud-install.sh +++ b/install/alpine-nextcloud-install.sh @@ -235,9 +235,9 @@ EOF msg_ok "Set up Nextcloud-Config" msg_info "Starting Alpine-Nextcloud" -$STD chown -R nextcloud:www-data /var/log/nextcloud/ -$STD rc-service php-fpm82 stop $STD rc-service php-fpm82 start +chown -R nextcloud:www-data /var/log/nextcloud/ +$STD rc-service php-fpm82 restart $STD rc-service nginx start $STD rc-service nextcloud start $STD rc-update add nginx default