mirror of
https://github.com/YunoHost/test_apps.git
synced 2024-09-03 20:06:29 +02:00
Gotta put this first for complex reason for tests...
This commit is contained in:
parent
e4068bb619
commit
a66c82de80
1 changed files with 4 additions and 4 deletions
|
@ -7,13 +7,13 @@ source /usr/share/yunohost/helpers
|
|||
app=$YNH_APP_INSTANCE_NAME
|
||||
domain=$(sudo yunohost app setting $app domain)
|
||||
|
||||
sudo rm -rf /var/www/$app
|
||||
sudo rm /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
sudo rm -f /etc/importantfile
|
||||
|
||||
db_user=$app
|
||||
ynh_mysql_drop_db $db_user
|
||||
ynh_mysql_drop_user $db_user
|
||||
|
||||
sudo rm -rf /var/www/$app
|
||||
sudo rm /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
sudo rm -f /etc/importantfile
|
||||
|
||||
sudo service nginx reload
|
||||
sudo yunohost app ssowatconf
|
||||
|
|
Loading…
Reference in a new issue