Update 'CMS/nextcloud/nginx-conf.sh'

This commit is contained in:
Bram Prieshof
2020-06-12 11:10:43 +02:00
parent 5ab7179d0d
commit b12c0a3057

View File

@@ -25,7 +25,7 @@ tar jxf /tmp/nextcloud.tar.bz2 -C /tmp
cp -a /tmp/nextcloud/. /var/www/"$domain"/html
#Creating DB
db_suffix=`expr $(ls -l /var/www | grep -c ^d)`
db_suffix=`expr $(ls -l /var/www | grep -c ^d) - 1`
db_name="nextcloud_$db_suffix"
db_user="nextcloud_$db_suffix"
db_pass=$(date +%s|sha256sum|base64|head -c 32)