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

12 lines
237 B
Text
Raw Normal View History

2016-06-14 12:25:46 +02:00
#!/bin/bash
2014-11-12 22:22:53 +01:00
app=pluxml
domain=$(sudo yunohost app setting $app domain)
2014-11-12 22:22:53 +01:00
# Remove sources
2014-11-12 22:22:53 +01:00
sudo rm -rf /var/www/$app
# Remove nginx conf and reload nginx service
2014-11-12 22:22:53 +01:00
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
sudo service nginx reload