diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-04-06 11:34:25 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-04-06 11:34:25 +0200 |
| commit | 21540d880d89640178ceba37ae450fe88000a2f6 (patch) | |
| tree | ccc9f11f86e6047245b1ad1901f673a343bee83c | |
| parent | 9d557ce5aa6200a8a89fa3eb31a1d52681033a47 (diff) | |
| download | nixos-21540d880d89640178ceba37ae450fe88000a2f6.tar nixos-21540d880d89640178ceba37ae450fe88000a2f6.tar.gz nixos-21540d880d89640178ceba37ae450fe88000a2f6.tar.bz2 nixos-21540d880d89640178ceba37ae450fe88000a2f6.tar.xz nixos-21540d880d89640178ceba37ae450fe88000a2f6.zip | |
...
| -rw-r--r-- | modules/borgcopy/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/borgcopy/default.nix b/modules/borgcopy/default.nix index 475edbd9..8e1afc27 100644 --- a/modules/borgcopy/default.nix +++ b/modules/borgcopy/default.nix | |||
| @@ -22,6 +22,7 @@ let | |||
| 22 | }; | 22 | }; |
| 23 | 23 | ||
| 24 | copyService = name: opts: nameValuePair "copy-borg@${utils.escapeSystemdPath name}" { | 24 | copyService = name: opts: nameValuePair "copy-borg@${utils.escapeSystemdPath name}" { |
| 25 | restartIfChanged = false; | ||
| 25 | serviceConfig = { | 26 | serviceConfig = { |
| 26 | Type = "oneshot"; | 27 | Type = "oneshot"; |
| 27 | ExecStart = "${copyBorg}/bin/copy_borg --verbosity ${toString opts.verbosity} ${utils.escapeSystemdExecArgs [opts.from opts.to]}"; | 28 | ExecStart = "${copyBorg}/bin/copy_borg --verbosity ${toString opts.verbosity} ${utils.escapeSystemdExecArgs [opts.from opts.to]}"; |
