summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--custom/borgbackup.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix
index 8d63e725..a10f6590 100644
--- a/custom/borgbackup.nix
+++ b/custom/borgbackup.nix
@@ -141,7 +141,7 @@ in {
141 ${tCfg.repo}::${cfg.prefix}$1-{utcnow} 141 ${tCfg.repo}::${cfg.prefix}$1-{utcnow}
142 ''; 142 '';
143 in if tCfg.lock == null then borgCmd else "flock -xo /var/lock/${tCfg.lock} ${borgCmd}"; 143 in if tCfg.lock == null then borgCmd else "flock -xo /var/lock/${tCfg.lock} ${borgCmd}";
144 scriptArgs = "%i"; 144 scriptArgs = "%I";
145 145
146 unitConfig = { 146 unitConfig = {
147 AssertPathIsDirectory = mkIf (tCfg.lock != null) "/var/lock"; 147 AssertPathIsDirectory = mkIf (tCfg.lock != null) "/var/lock";