From 56c0f428dbc7ffa19d176c6a5334e881fdbec040 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 17 Dec 2017 01:12:11 +0100 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hel.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hel.nix b/hel.nix index 96a8c795..2a017489 100644 --- a/hel.nix +++ b/hel.nix @@ -528,6 +528,8 @@ path = with pkgs; [borgbackup]; script = '' + pwd + borg create \ --stats \ --list \ @@ -543,6 +545,7 @@ scriptArgs = "%i"; serviceConfig = { + Type = "oneshot"; WorkingDirectory = "/mnt/snapshot-%i"; }; }; -- cgit v1.2.3