Nginx per-site log and Wordpress init script using

This commit is contained in:
2020-07-30 14:16:33 +02:00
parent 9cce3cc75a
commit f24076bb43
8 changed files with 33 additions and 1 deletions

View 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