nixos/transmission: point at the settings dir in cfg.home.
Without this, transmission starts with an empty config when using a custom home location. Signed-off-by: David Anderson <dave@natulte.net>
This commit is contained in:
parent
1e20b2dce4
commit
43effbbc59
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ in
|
|||
install -D -m 600 -o '${cfg.user}' -g '${cfg.group}' /dev/stdin \
|
||||
'${cfg.home}/${settingsDir}/settings.json'
|
||||
'')];
|
||||
ExecStart="${pkgs.transmission}/bin/transmission-daemon -f";
|
||||
ExecStart="${pkgs.transmission}/bin/transmission-daemon -f -g ${cfg.home}/${settingsDir}";
|
||||
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
|
||||
User = cfg.user;
|
||||
Group = cfg.group;
|
||||
|
|
Loading…
Reference in a new issue