Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: transmission (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to transmission in Ubuntu.
https://bugs.launchpad.net/bugs/1559739
Title:
Systemd service script for daemon doesn't use /etc/default
/transmission-daemon
Status in transmission package in Ubuntu:
Confirmed
Bug description:
Description: Ubuntu 15.10
Release: 15.10
transmission-daemon:
Installed: 2.84-1ubuntu1
Candidate: 2.84-1ubuntu1
Version table:
*** 2.84-1ubuntu1 0
500 http://fi.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
100 /var/lib/dpkg/status
Expected:
Changing CONFIG_DIR in /etc/default/transmission-daemon, causes the daemon to
use that directory for its configuration and runtime folders.
What happened instead:
Whatever value CONFIG_DIR had, transmission-daemon acted as if it was the
default ('/var/lib/transmission-daemon/info').
I was finally able to fix this by adding
'EnvironmentFile=/etc/default/transmission' into the service file and changing
the name of CONFIG_DIR to TRANSMISSION_HOME in /etc/default/transmission. I
tried adding $OPTIONS to the command line in the service file instead (as the
older startup scripts do) but apparently systemd doesn't support substitution
in the environment file.
This enables specifying the configuration directory, and shouldn't break the
older scripts.
Btw, having three init scripts is kind of confusing.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/transmission/+bug/1559739/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp