1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/concrete5_ynh.git synced 2024-09-03 18:25:54 +02:00

Create remove

This commit is contained in:
frju365 2017-02-27 13:11:48 +01:00 committed by GitHub
parent ea504073a6
commit 4b3b9f35b5

13
scripts/remove Normal file
View file

@ -0,0 +1,13 @@
#!/bin/bash
app=$YNH_APP_INSTANCE_NAME
set -u
# Source app helpers
source /usr/share/yunohost/helpers
domain=$(ynh_app_setting_get $app domain)
sudo rm -rf /var/www/$app
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
sudo service nginx reload