1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pluxml_ynh.git synced 2024-09-03 20:16:02 +02:00

Retrieve domain variable

Retrieve domain variable which is used after
This commit is contained in:
M5oul 2015-12-13 18:29:29 +01:00 committed by Moul
parent 78d5945e1c
commit 4305c46b70

View file

@ -1,6 +1,7 @@
#! /bin/bash #! /bin/bash
app=pluxml app=pluxml
domain=$(sudo yunohost app setting $app domain)
sudo rm -rf /var/www/$app sudo rm -rf /var/www/$app
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf