Updated motd's in the installer,
they wil also be displayed at the end of installation
This commit is contained in:
@@ -17,4 +17,4 @@ else
|
||||
fi
|
||||
|
||||
echo "*/5 * * * * SITEname php -f /var/www/DOMAINname/html/cron.php > /dev/null 2>&1" >> /etc/crontab
|
||||
rm -f /etc/update-motd.d/50-nextnotice
|
||||
rm -f /etc/update-motd.d/51-nextnotice
|
||||
@@ -45,5 +45,5 @@ chown "$sitename":"$sitename" -R /var/www/"$domain"/html
|
||||
#Makeing nextcloud Finalize script and setting login Notice
|
||||
wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/nextcloud/nextcloud-init.sh -O ~/nextcloud-init.sh
|
||||
sed -i -e 's/DOMAINname/'$domain'/' -e 's/SITEname/'$sitename'/' ~/nextcloud-init.sh
|
||||
wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/nextcloud/MotdNextCloud -O /etc/update-motd.d/50-nextnotice
|
||||
chmod +x /etc/update-motd.d/50-nextnotice
|
||||
wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/nextcloud/MotdNextCloud -O /etc/update-motd.d/51-nextnotice
|
||||
chmod +x /etc/update-motd.d/51-nextnotice
|
||||
|
||||
@@ -45,5 +45,5 @@ chown "$sitename":"$sitename" -R /var/www/"$domain"/html
|
||||
#Makeing wordpress Finalize script and setting login Notice
|
||||
wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/wordpress/wordpress-init.sh -O ~/wordpress-init.sh
|
||||
sed -i -e 's/DOMAINname/'$domain'/' -e 's/SITEname/'$sitename'/' ~/wordpress-init.sh
|
||||
wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/wordpress/MotdWordpress -O /etc/update-motd.d/50-wpnotice
|
||||
chmod +x /etc/update-motd.d/50-wpnotice
|
||||
wget -q -t7 "$repo"/raw/branch/"$branch"/CMS/wordpress/MotdWordpress -O /etc/update-motd.d/51-wpnotice
|
||||
chmod +x /etc/update-motd.d/51-wpnotice
|
||||
@@ -2,4 +2,4 @@ sudo -u SITEname wp --path=/var/www/DOMAINname/html core update
|
||||
sudo -u SITEname wp --path=/var/www/DOMAINname/html plugin update --all
|
||||
sudo -u SITEname wp --path=/var/www/DOMAINname/html theme update --all
|
||||
sudo -u SITEname wp --path=/var/www/DOMAINname/html plugin install wp-fail2ban --activate
|
||||
rm -f /etc/update-motd.d/50-wpnotice
|
||||
rm -f /etc/update-motd.d/51-wpnotice
|
||||
Reference in New Issue
Block a user