diff --git a/hotfixes/2015-04-26-upgrade-wordpress.sh b/hotfixes/2015-04-26-upgrade-wordpress.sh new file mode 100644 index 0000000000000000000000000000000000000000..748230fe708efd71a4c63da98895a1217857c45f --- /dev/null +++ b/hotfixes/2015-04-26-upgrade-wordpress.sh @@ -0,0 +1,11 @@ +docker pull indiepaas/wordpress + +cd /data/domains +for domain in `ls .` +do + if cat $domain/.env|grep APPLICATION=wordpress + then + systemctl restart web@$domain + /opt/bin/docker-enter $domain wp --allow-root core update-db --path=/app + fi +done