diff --git a/scripts/remove b/scripts/remove index 7fad144..c1ef14a 100644 --- a/scripts/remove +++ b/scripts/remove @@ -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