Files
VPS-scripts_Web-V2/CMS/wordpress/wordpress-init.sh
Bram Prieshof 8d10e8b853 Updated motd's in the installer,
they wil also be displayed at the end of installation
2020-07-30 14:47:54 +02:00

5 lines
333 B
Bash

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/51-wpnotice