1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zerobin_ynh.git synced 2024-09-03 18:06:01 +02:00
zerobin_ynh/scripts/remove

9 lines
165 B
Text
Raw Normal View History

2013-12-24 13:37:55 +01:00
#!/bin/bash
2016-08-24 19:51:23 +02:00
app=$YNH_APP_INSTANCE_NAME
2013-12-24 13:37:55 +01:00
2016-08-24 19:51:23 +02:00
domain=$(sudo yunohost app setting $app domain)
sudo rm -rf /var/www/$app
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf