1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lutim_ynh.git synced 2024-09-03 19:36:24 +02:00
lutim_ynh/scripts/remove
Maniack Crudelis 0a2472c105 Mise à jour
2015-03-16 21:10:39 +01:00

12 lines
No EOL
312 B
Bash

#!/bin/bash
app=lutim
domain=$(sudo yunohost app setting $app domain)
final_path=$(sudo yunohost app setting $app final_path)
sudo service lutim stop
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
# sudo rm -rf $final_path
sudo rm -rf /var/www/lutim
sudo rm -f /etc/default/lutim
sudo rm -f /etc/init.d/lutim