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

16 lines
265 B
Text
Raw Normal View History

#!/bin/bash
app="ethercalc"
2014-09-08 00:23:35 +02:00
name="ether"
name+="calc"
domain=$(sudo yunohost app setting $app domain)
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
2014-09-08 00:23:35 +02:00
sudo rm -Rf /var/log/$name/$app
sudo update-rc.d $app remove
sudo service $app stop
sudo rm /etc/init.d/$app