mirror of
https://github.com/YunoHost/test_apps.git
synced 2024-09-03 20:06:29 +02:00
14 lines
250 B
Text
14 lines
250 B
Text
|
set -eux
|
||
|
|
||
|
# Source app helpers
|
||
|
source /usr/share/yunohost/helpers
|
||
|
|
||
|
# Recover arguments
|
||
|
app=$YNH_APP_INSTANCE_NAME
|
||
|
domain=$(sudo yunohost app setting $app domain)
|
||
|
|
||
|
rm -rf /var/www/$app
|
||
|
rm /etc/nginx/conf.d/$domain.d/$app.conf
|
||
|
|
||
|
systemctl restart nginx
|