From ff504f0d6c9f22430412bacc5ae82d5f27ce077f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 23 Sep 2023 16:48:17 +0200 Subject: ... --- modules/pgbackrest.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/pgbackrest.nix') diff --git a/modules/pgbackrest.nix b/modules/pgbackrest.nix index d4a4f9d6..41a7b381 100644 --- a/modules/pgbackrest.nix +++ b/modules/pgbackrest.nix @@ -143,7 +143,7 @@ in { environment.systemPackages = [ cfg.package ]; services.postgresql.settings = mkIf cfg.configurePostgresql.enable { - archive_command = "pgbackrest --stanza ${cfg.configurePostgresql.stanza} archive-push %p"; + archive_command = "pgbackrest --stanza ${escapeSystemdExecArg cfg.configurePostgresql.stanza} archive-push %p"; archive_mode = true; max_wal_senders = mkDefault 3; wal_level = "replica"; -- cgit v1.2.3