Disable transmission-daemon on boot in Ubuntu 14.04 LTS

0

1

I realize that there are multiple posts regarding this. But most of them have to do with editing the program, which some people say is not a good idea. Then others talk about upstart, which is great, but I can't figure out how to use upstart to disable the application on boot. It definitely is an upstart application. I've been googling for about an hour, and cannot figure out the correct and supported way to do this.

David Custer

Posted 2015-05-12T04:53:51.543

Reputation: 115

Answers

1

This should work but you'll have to test it:

  1. Edit the config file for transmission-daemon:

    sudo vim /etc/default/transmission-daemon
    
  2. Modify the ENABLE_DAEMON value to 0:

    ENABLE_DAEMON=0
    

Now Transmission shouldn't start on boot.

Karan

Posted 2015-05-12T04:53:51.543

Reputation: 51 857

That definitely answered my question. There is just one unexpected side effect. I cannot start it at all when ENABLE_DAEMON=1 is set. – David Custer – 2015-05-12T05:43:02.610

Hmm, what happens if you run it manually using sudo /usr/bin/transmission-daemon? – Karan – 2015-05-12T05:50:56.997

It does not run it correctly. It uses and generates some other settings config, and does god only knows what else. :( Thank you though. – David Custer – 2015-05-12T06:01:38.337

You can try sudo /usr/bin/transmission-daemon --config-dir /opt/transmission to point it to a specific config location (add -u user -g usergroup to sudo if required). – Karan – 2015-05-12T06:07:52.000

Yea, that worked. Thanks man!! ip netns exec vpn sudo -u debian-transmission -g debian-transmission /usr/bin/transmission-daemon --config-dir /etc/transmission-daemon/ – David Custer – 2015-05-12T06:55:25.957