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
2013-10-29 13:26:46 +00:00

13 lines
513 B
Bash

#!/bin/bash
sudo service transmission-daemon stop
sudo yunohost firewall disallow TCP 51413
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