CMS:Nextcloud Init.sh fixed typo

This commit is contained in:
2021-04-15 13:46:13 +02:00
parent dabb32845d
commit 6ffae91431

View File

@@ -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.";;