diff options
-rw-r--r-- | ymir.nix | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1164,6 +1164,7 @@ in rec { | |||
1164 | 1164 | ||
1165 | serviceConfig = { | 1165 | serviceConfig = { |
1166 | ExecStart = "${./snap.py} %I"; | 1166 | ExecStart = "${./snap.py} %I"; |
1167 | ExecCondition = "${pkgs.stdenv.shell} -c \"! systemctl is-active 'borgbackup@*.service\""; | ||
1167 | Type = "oneshot"; | 1168 | Type = "oneshot"; |
1168 | Nice = 15; | 1169 | Nice = 15; |
1169 | IOSchedulingClass = 2; | 1170 | IOSchedulingClass = 2; |