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

14 lines
251 B
Text
Raw Normal View History

2017-02-01 19:57:02 +01:00
#!/bin/bash
app=$YNH_APP_INSTANCE_NAME
set -u
# Source app helpers
source /usr/share/yunohost/helpers
2017-02-01 20:19:21 +01:00
domain=$(ynh_app_setting_set "$app" domain)
2017-02-01 19:57:02 +01:00
sudo rm -rf /var/www/$app
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
sudo service nginx reload