3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos
Jakub Sokołowski 3238beab0a nixos/transmission: fix from where service loads config
Currently if you specify home to be someplace else than ~/ for user
then Transmissions always attempts to load the config from the
default location which is $HOME/.config/transmission-daemon based on documentation:
https://github.com/transmission/transmission/wiki/Configuration-Files

Which means that the changes done to the config under settingsDir in
ExecPreStart have no effect because they are modifying a file that is never loaded.

I've added an explicit --config-dir ${settingsDir} to make sure
that Transmission loads the correct config file even when home is changed.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-31 15:21:29 +01:00
..
doc Merge pull request #76189 from Ma27/nixos-install-verbosity-level 2019-12-28 11:50:25 +01:00
lib nixos/python-test-driver: add an option to disable python linter 2019-12-22 19:27:43 +01:00
maintainers ec2/create-amis.sh: register root device as /dev/xvda 2019-11-02 05:58:58 +09:00
modules nixos/transmission: fix from where service loads config 2019-12-31 15:21:29 +01:00
tests Merge pull request #76551 from symphorien/nagios2 2019-12-30 14:21:03 -05:00
COPYING
default.nix
README
release-combined.nix nixos/nfs: test nfs with kerberos authentication 2019-12-12 15:42:44 +00:00
release-small.nix nixos/containers-ip: Test both ipv4 and ipv6 in the same script 2019-11-27 09:13:02 +01:00
release.nix Merge pull request #68265 from tkerber/rpi4 2019-09-27 14:35:17 -04:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.