Update 'config/nextcloud/nextcloud-config.sh'
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user