From 3be1b16698a12531b1a5edc3d4a56ab62ea41fbf Mon Sep 17 00:00:00 2001 From: Alexander Sieg Date: Tue, 7 May 2024 15:27:08 +0200 Subject: nixos/plausible: fix unit start script In 8bb777ee378082942231f63a035923a475538030 a condition was added to only execute the createdb.sh script if database setup was configurated. However a superfluace " was added at the end of the line which cased an escaping error the resulted in #309520. Fixes #309520 --- nixos/modules/services/web-apps/plausible.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules') diff --git a/nixos/modules/services/web-apps/plausible.nix b/nixos/modules/services/web-apps/plausible.nix index b9e5afd4d1419..393b3dd5bd16c 100644 --- a/nixos/modules/services/web-apps/plausible.nix +++ b/nixos/modules/services/web-apps/plausible.nix @@ -278,7 +278,7 @@ in { ${lib.optionalString cfg.database.postgres.setup '' # setup - ${cfg.package}/createdb.sh" + ${cfg.package}/createdb.sh ''} ${cfg.package}/migrate.sh -- cgit 1.4.1