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:
parent
e156919cdb
commit
292f25e395
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue