From 2072043efbd74b40ef107e235287ba91e489695b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Thu, 27 Jun 2019 14:15:21 +0200 Subject: [PATCH] duplicati: fix StateDirectory --- nixos/modules/services/backup/duplicati.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/backup/duplicati.nix b/nixos/modules/services/backup/duplicati.nix index a4b895d78a6..0ff720c5897 100644 --- a/nixos/modules/services/backup/duplicati.nix +++ b/nixos/modules/services/backup/duplicati.nix @@ -48,7 +48,7 @@ in serviceConfig = { User = cfg.user; 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"; Restart = "on-failure"; };