services: fava: workaround file not found bug
This commit is contained in:
parent
f558b4b680
commit
fb1a53e73d
|
@ -38,7 +38,7 @@ in
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Environment = [];
|
Environment = [];
|
||||||
ExecStart = "${pkgs.fava}/bin/fava -H 127.0.0.1 -p ${toString cfg.port} ${cfg.filePath}";
|
ExecStart = "${pkgs.fava}/bin/fava -H 127.0.0.1 -p ${toString cfg.port} ${cfg.home}/${cfg.filePath}";
|
||||||
WorkingDirectory = cfg.home;
|
WorkingDirectory = cfg.home;
|
||||||
User = "fava";
|
User = "fava";
|
||||||
Group = "fava";
|
Group = "fava";
|
||||||
|
|
Loading…
Reference in a new issue