Skip to content
Snippets Groups Projects
wordpress.sh 270 B
Newer Older
#!/bin/bash -eux
Pierre Ozoux's avatar
Pierre Ozoux committed
if [ ! -d "/data/per-user/$DOMAIN/wordpress/data" ]; then
  cd /data/per-user/$DOMAIN/
  tar xvzf /data/indiehosters/blueprints/wordpress.tgz
fi
Pierre Ozoux's avatar
Pierre Ozoux committed
cat /data/per-user/$DOMAIN/mysql/.env | sed s/MYSQL_PASS/DB_PASS/ > /data/per-user/$DOMAIN/wordpress/.env