Unverified Commit 3be1b166 authored by Alexander Sieg's avatar Alexander Sieg
Browse files

nixos/plausible: fix unit start script

In 8bb777ee 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
parent 8f650600
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -278,7 +278,7 @@ in {

            ${lib.optionalString cfg.database.postgres.setup ''
              # setup
              ${cfg.package}/createdb.sh"
              ${cfg.package}/createdb.sh
            ''}

            ${cfg.package}/migrate.sh