1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jirafeau_ynh.git synced 2024-09-03 19:35:53 +02:00
jirafeau_ynh/scripts/remove
2014-10-06 22:21:31 +02:00

11 lines
292 B
Bash
Executable file

#!/bin/bash
domain=$(sudo yunohost app setting jirafeau domain)
sudo rm -rf /home/yunohost.app/jirafeau
sudo rm -rf /var/www/jirafeau
sudo rm -f /etc/nginx/conf.d/$domain.d/jirafeau.conf
sudo rm -f /etc/php5/fpm/pool.d/jirafeau.conf
sudo service php5-fpm restart
sudo service nginx reload