mirror of
https://github.com/YunoHost-Apps/shaarli_ynh.git
synced 2024-09-03 20:26:10 +02:00
Fix remove script for multiple instances
This commit is contained in:
parent
4902c1ebba
commit
963009da65
1 changed files with 1 additions and 2 deletions
|
@ -13,9 +13,8 @@
|
|||
app=$YNH_APP_INSTANCE_NAME
|
||||
|
||||
domain=$(sudo yunohost app setting $app domain)
|
||||
www_path=$(sudo yunohost app setting $app path | sed -e 's@^/@@' -e 's@/$@@')
|
||||
|
||||
sudo rm -rf /var/www/$www_path
|
||||
sudo rm -rf /var/www/$app
|
||||
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
|
||||
sudo service nginx reload
|
||||
|
|
Loading…
Add table
Reference in a new issue