1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/privatebin_ynh.git synced 2024-09-03 20:15:56 +02:00
privatebin_ynh/scripts/remove

11 lines
192 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
2016-11-21 16:03:27 +01:00
sudo service nginx reload