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
|
@ -197,7 +197,7 @@ in
|
||||||
install -D -m 600 -o '${cfg.user}' -g '${cfg.group}' /dev/stdin \
|
install -D -m 600 -o '${cfg.user}' -g '${cfg.group}' /dev/stdin \
|
||||||
'${cfg.home}/${settingsDir}/settings.json'
|
'${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";
|
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
|
||||||
User = cfg.user;
|
User = cfg.user;
|
||||||
Group = cfg.group;
|
Group = cfg.group;
|
||||||
|
|
Loading…
Reference in New Issue