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

12 lines
312 B
Text
Raw Normal View History

2015-03-19 20:49:50 +01:00
#!/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