shorter with `systemctl edit`
|Deletions are marked like this.||Additions are marked like this.|
|Line 47:||Line 47:|
---- /!\ '''Edit conflict - other version:''' ----
# systemctl edit transmission-daemon.service.d
Then add these lines:
---- /!\ '''Edit conflict - your version:''' ----
|Line 61:||Line 52:|
---- /!\ '''End of edit conflict''' ----
if you have installed your DebianGnome desktop from tasksel then transmission-gtk should be installed by default, but it is possible to use one more of the following packages, depending on your requirements:
transmission-cli - A collection of cli tools for transmission.
transmission-gtk - A BitTorrent Client using a GTK interface.
transmission-qt - A BitTorrent Client using a QT interface.
transmission-remote-cli - A BitTorrent Client using a curses interface for accessing the daemon.
transmission-daemon - A BitTorrent daemon using a web interface.
Currently transmission overwrites the settings.json configuration file on exit. The daemon can be instructed to reload the config with a SIGHUP, or service transmission-daemon reload Otherwise changes made manually to the file while the daemon is running will be silently overwritten on exit.
The transmission-daemon can be configured by editing /etc/transmission-daemon/settings.json.
The setting.json file is quite self explanatory but the common things that might need editing are:
- "download-dir": "/var/lib/transmission-daemon/downloads",
- the location of the finished downloads
- "incomplete-dir": "/root/Downloads",
- the location of the incomplete downloads
- the password for the web interface, replace the hash with a plain text password and it will be hashed on reload
- "rpc-username": "transmission",
- user name for web interface
- "rpc-whitelist": "127.0.0.1",
IP's allowed to access the daemon, something like "rpc-whitelist": "127.0.0.1,192.168.*.*", is the formatting for the IP addresses
A full description of the setting can be found at transmission wiki.
Change default user on daemon
In case you want to set a different user than the default debian-transmission user, you need to create a configuration file to overwrite default settings.
# systemctl edit transmission-daemon.service
Then add these lines:
Where "USER" is the name of the user you want to run the daemon as.
Connecting to daemon
Once the daemon is running, it can be accessed from your web browser by pointing it at http://127.0.0.1:9091 or the address for your server (once you have whitelisted the IP range).
curses cli tool
The curses interface can be accessed via the terminal using:
# transmission-remote-cli -c username:email@example.com
replacing username:password and IP address with your settings.