duplicati: fix StateDirectory
This commit is contained in:
parent
7e90540d13
commit
2072043efb
|
@ -48,7 +48,7 @@ in
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = cfg.user;
|
User = cfg.user;
|
||||||
Group = "duplicati";
|
Group = "duplicati";
|
||||||
StateDirectory = "/var/lib/duplicati";
|
StateDirectory = "duplicati";
|
||||||
ExecStart = "${pkgs.duplicati}/bin/duplicati-server --webservice-interface=${cfg.interface} --webservice-port=${toString cfg.port} --server-datafolder=/var/lib/duplicati";
|
ExecStart = "${pkgs.duplicati}/bin/duplicati-server --webservice-interface=${cfg.interface} --webservice-port=${toString cfg.port} --server-datafolder=/var/lib/duplicati";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue