Nginx per-site log and Wordpress init script using
This commit is contained in:
5
CMS/wordpress/wordpress-init.sh
Normal file
5
CMS/wordpress/wordpress-init.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
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
|
||||
Reference in New Issue
Block a user