about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorAlexander Sieg <alex@xanderio.de>2024-05-07 15:27:08 +0200
committerAlexander Sieg <alex@xanderio.de>2024-05-07 15:27:08 +0200
commit3be1b16698a12531b1a5edc3d4a56ab62ea41fbf (patch)
tree817c7680b52cc36425c1d263df7fbcf8f0edf895 /nixos
parent8f650600cf275ba0585aeb5507fae577c3d9d6b1 (diff)
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
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/web-apps/plausible.nix2
1 files changed, 1 insertions, 1 deletions
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