From 804b42163464e46439396cf4f6e6ce5f55f8eba2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 8 Feb 2022 20:28:53 +0100 Subject: ymir: ... --- ymir.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/ymir.nix b/ymir.nix index 41a1557b..baddeec3 100644 --- a/ymir.nix +++ b/ymir.nix @@ -1164,6 +1164,7 @@ in rec { serviceConfig = { ExecStart = "${./snap.py} %I"; + ExecCondition = "${pkgs.stdenv.shell} -c \"! systemctl is-active 'borgbackup@*.service\""; Type = "oneshot"; Nice = 15; IOSchedulingClass = 2; -- cgit v1.2.3