nixos/discourse: fix postgres dependency
This was broken during the postgresql.target migration in 41c5662cbe.
This commit is contained in:
@@ -733,14 +733,14 @@ in
|
|||||||
after = [
|
after = [
|
||||||
"redis-discourse.service"
|
"redis-discourse.service"
|
||||||
"postgresql.target"
|
"postgresql.target"
|
||||||
"discourse-postgresql.target"
|
"discourse-postgresql.service"
|
||||||
];
|
];
|
||||||
bindsTo = [
|
bindsTo = [
|
||||||
"redis-discourse.service"
|
"redis-discourse.service"
|
||||||
]
|
]
|
||||||
++ lib.optionals (cfg.database.host == null) [
|
++ lib.optionals (cfg.database.host == null) [
|
||||||
"postgresql.target"
|
"postgresql.target"
|
||||||
"discourse-postgresql.target"
|
"discourse-postgresql.service"
|
||||||
];
|
];
|
||||||
path = cfg.package.runtimeDeps ++ [
|
path = cfg.package.runtimeDeps ++ [
|
||||||
postgresqlPackage
|
postgresqlPackage
|
||||||
|
|||||||
Reference in New Issue
Block a user