first commit

This commit is contained in:
root
2013-12-12 11:12:22 +00:00
commit 027ac79654
17 changed files with 2978 additions and 0 deletions

10
scripts/remove Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
db_user=wordpress
db_name=wordpress
root_pwd=$(sudo cat /etc/yunohost/mysql)
domain=$(sudo yunohost app setting ffsync domain)
mysql -u root -p$root_pwd -e "DROP DATABASE $db_name ; DROP USER $db_user@localhost ;"
sudo rm -rf /var/www/ffsync
sudo rm -f /etc/nginx/conf.d/$domain.d/ffsync.conf