mirror of
https://github.com/YunoHost-Apps/jappix_ynh.git
synced 2024-09-03 19:26:19 +02:00
Merge pull request #3 from Kloadut/patch-1
[fix] Fetch domain before removal
This commit is contained in:
commit
3ee962df92
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
domain=$(sudo yunohost app setting jappix domain)
|
||||
|
||||
sudo rm -rf /var/www/jappix
|
||||
sudo rm -f /etc/nginx/conf.d/$domain.d/jappix.conf
|
||||
|
|
Loading…
Reference in a new issue