mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
Update remove
This commit is contained in:
parent
dfb507548f
commit
87864de196
1 changed files with 1 additions and 1 deletions
|
@ -5,6 +5,6 @@ db_name=wordpress
|
|||
root_pwd=$(sudo cat /etc/yunohost/mysql)
|
||||
domain=$(sudo yunohost app setting wordpress domain)
|
||||
|
||||
mysql -u root -p$root_pwd -e "DROP DATABASE $db_name ; DROP USER $db_user ;"
|
||||
mysql -u root -p$root_pwd -e "DROP DATABASE $db_name ; DROP USER $db_user@localhost ;"
|
||||
sudo rm -rf /var/www/wordpress
|
||||
sudo rm -f /etc/nginx/conf.d/$domain.d/wordpress.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue