Merge pull request #186674 from aopom/plausible-service-after-clickhouse
This commit is contained in:
commit
d478d8be71
|
@ -188,7 +188,11 @@ in {
|
||||||
inherit (pkgs.plausible.meta) description;
|
inherit (pkgs.plausible.meta) description;
|
||||||
documentation = [ "https://plausible.io/docs/self-hosting" ];
|
documentation = [ "https://plausible.io/docs/self-hosting" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
after = optionals cfg.database.postgres.setup [ "postgresql.service" "plausible-postgres.service" ];
|
after = optional cfg.database.clickhouse.setup "clickhouse.service"
|
||||||
|
++ optionals cfg.database.postgres.setup [
|
||||||
|
"postgresql.service"
|
||||||
|
"plausible-postgres.service"
|
||||||
|
];
|
||||||
requires = optional cfg.database.clickhouse.setup "clickhouse.service"
|
requires = optional cfg.database.clickhouse.setup "clickhouse.service"
|
||||||
++ optionals cfg.database.postgres.setup [
|
++ optionals cfg.database.postgres.setup [
|
||||||
"postgresql.service"
|
"postgresql.service"
|
||||||
|
|
Loading…
Reference in a new issue