Update 'config/nextcloud/nextcloud-config.sh'

This commit is contained in:
bprieshof
2019-04-17 12:13:04 +02:00
parent 8daf20e562
commit 6f6a370297

View File

@@ -148,4 +148,14 @@ cd /var/www/$domain/html
sudo -u www-data php occ db:convert-filecache-bigint sudo -u www-data php occ db:convert-filecache-bigint
rm -f info.php rm -f info.php
rm -f opcache.php rm -f opcache.php
EOF rm -f /etc/update-motd.d/50-nextnotice
EOF
cat <<EOF > /etc/update-motd.d/50-nextnotice
#!/bin/sh
red='\e[1;31m%s\e[0m\n'
printf "\n"
printf "\$red" "Please run nextcloud-init.sh after fist nextcloud login"
printf "\n"
EOF
chmod +x /etc/update-motd.d/50-nextnotice