From 6ffae914311386fa312b88f60ec214f96a31a8ef Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Thu, 15 Apr 2021 13:46:13 +0200 Subject: [PATCH] CMS:Nextcloud Init.sh fixed typo --- CMS/nextcloud/nextcloud-init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMS/nextcloud/nextcloud-init.sh b/CMS/nextcloud/nextcloud-init.sh index 10e5618..f51adb2 100644 --- a/CMS/nextcloud/nextcloud-init.sh +++ b/CMS/nextcloud/nextcloud-init.sh @@ -14,14 +14,14 @@ if [ "$(systemctl is-active redis-server)" = "active" ] || [ "$(systemctl is-ac sudo -u SITEname php /var/www/DOMAINname/html/occ config:system:set redis host --value=localhost sudo -u SITEname php /var/www/DOMAINname/html/occ config:system:set redis port --value=6379 while true; do - read -p "Prepair for Files High Performance Back-end -> yes/no?" yn + read -p "Prepair for Files High Performance Back-end (Only for nginx) -> yes/no?" yn case $yn in [Nn]* ) break;; [Yy]* ) sudo -u SITEname php /var/www/DOMAINname/html/occ app:install notify_push sed -i --follow-symlinks 's/#FHPB//g' /etc/nginx/sites-enabled/SITEname - systemctl nginx reload + systemctl reload nginx echo -e "\e[96m Run: sudo -u SITEname php /var/www/DOMAINname/html/occ notify_push:setup\e[39m" break;; * )echo "Choose yes or no.";;