diff options
Diffstat (limited to 'modules/pgbackrest.nix')
-rw-r--r-- | modules/pgbackrest.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/pgbackrest.nix b/modules/pgbackrest.nix index 886840b9..550e970b 100644 --- a/modules/pgbackrest.nix +++ b/modules/pgbackrest.nix | |||
@@ -43,6 +43,8 @@ let | |||
43 | loglevelType = types.enum ["off" "error" "warn" "info" "detail" "debug" "trace"]; | 43 | loglevelType = types.enum ["off" "error" "warn" "info" "detail" "debug" "trace"]; |
44 | inherit (utils.systemdUtils.unitOptions) unitOption; | 44 | inherit (utils.systemdUtils.unitOptions) unitOption; |
45 | in { | 45 | in { |
46 | disabledModules = ["services/backup/pgbackrest.nix"]; | ||
47 | |||
46 | options = { | 48 | options = { |
47 | services.pgbackrest = { | 49 | services.pgbackrest = { |
48 | enable = mkEnableOption "pgBackRest"; | 50 | enable = mkEnableOption "pgBackRest"; |
@@ -216,6 +218,7 @@ in { | |||
216 | }; | 218 | }; |
217 | }; | 219 | }; |
218 | } // mapAttrs' (name: backupCfg: nameValuePair "pgbackrest-backup@${escapeSystemdPath name}" { | 220 | } // mapAttrs' (name: backupCfg: nameValuePair "pgbackrest-backup@${escapeSystemdPath name}" { |
221 | restartIfChanged = false; | ||
219 | description = "Perform pgBackRest Backup (${name}${optionalString (!(isNull backupCfg.repo)) " repo${backupCfg.repo}"})"; | 222 | description = "Perform pgBackRest Backup (${name}${optionalString (!(isNull backupCfg.repo)) " repo${backupCfg.repo}"})"; |
220 | serviceConfig = { | 223 | serviceConfig = { |
221 | Type = "oneshot"; | 224 | Type = "oneshot"; |