Skip to content
Snippets Groups Projects
2015-04-26-upgrade-wordpress.sh 251 B
Newer Older
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