1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/strut_ynh.git synced 2024-09-03 20:26:33 +02:00
strut_ynh/scripts/remove

8 lines
148 B
Bash

#!/bin/bash
APP=${!#}
domain=$(sudo yunohost app setting $APP domain)
sudo rm -rf /var/www/$APP
sudo rm -f /etc/nginx/conf.d/$domain.d/$APP.conf