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

Fix remove script for multiinstance

This commit is contained in:
Julien Malik 2016-08-24 19:51:23 +02:00
parent e156919cdb
commit 292f25e395

View file

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