1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/transmission_ynh.git synced 2024-09-04 01:46:12 +02:00
transmission_ynh/scripts/remove
2014-05-29 11:28:16 +02:00

14 lines
562 B
Bash

#!/bin/bash
sudo service transmission-daemon stop
sudo yunohost firewall disallow TCP 51413
sudo yunohost service remove transmission-daemon
domain=$(sudo yunohost app setting transmission domain)
sudo rm /etc/nginx/conf.d/$domain.d/transmission.conf
sudo rm -rf /home/yunohost.transmission
sudo apt-get remove -y -qq transmission-daemon
sudo service nginx reload
sudo yunohost app ssowatconf