mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 02:53:55 +00:00
Merge pull request #161 from bjornfor/transmission
transmission.service: fix ignored ExecReload setting
This commit is contained in:
commit
ef06b4be7e
@ -111,7 +111,7 @@ in
|
||||
${pkgs.stdenv.shell} -c "chmod 770 ${homeDir}"
|
||||
'';
|
||||
serviceConfig.ExecStart = "${pkgs.transmission}/bin/transmission-daemon -f --port ${toString config.services.transmission.rpc_port}";
|
||||
serviceConfig.ExecReload = "kill -HUP $MAINPID";
|
||||
serviceConfig.ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
|
||||
serviceConfig.User = "transmission";
|
||||
# NOTE: transmission has an internal umask that also must be set (in settings.json)
|
||||
serviceConfig.UMask = "0002";
|
||||
|
Loading…
Reference in New Issue
Block a user