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-01-13 13:50:38 +01:00

12 lines
336 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 rm -f /etc/php5/conf.d/20-jirafeau.ini
sudo service php5-fpm restart
sudo service nginx reload