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

11 lines
192 B
Text
Raw Normal View History

2017-01-28 22:50:08 +01:00
#!/bin/bash
app=$YNH_APP_INSTANCE_NAME
domain=$(sudo yunohost app setting $app domain)
sudo rm -rf /var/www/$app
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
sudo service nginx reload