mirror of
https://github.com/YunoHost-Apps/agora_ynh.git
synced 2024-09-03 18:06:21 +02:00
14 lines
249 B
Text
14 lines
249 B
Text
|
#!/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
|