mirror of
https://github.com/YunoHost-Apps/garradin_ynh.git
synced 2024-09-03 18:36:17 +02:00
13 lines
254 B
Bash
13 lines
254 B
Bash
#!/bin/bash
|
|
|
|
app=$YNH_APP_INSTANCE_NAME
|
|
set -u
|
|
# Source app helpers
|
|
source /usr/share/yunohost/helpers
|
|
|
|
domain=$(sudo ynh_app_setting_set $app domain)
|
|
|
|
sudo rm -rf /var/www/$app
|
|
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
|
|
|
|
sudo service nginx reload
|