lemmy: systemd postgresql setup service cleanup
This commit is contained in:
parent
39423b9f03
commit
a8f9539d01
@ -214,8 +214,6 @@ in
|
|||||||
systemd.services.lemmy-postgresql = mkIf cfg.settings.database.createLocally {
|
systemd.services.lemmy-postgresql = mkIf cfg.settings.database.createLocally {
|
||||||
description = "Lemmy postgresql db";
|
description = "Lemmy postgresql db";
|
||||||
after = [ "postgresql.service" ];
|
after = [ "postgresql.service" ];
|
||||||
bindsTo = [ "postgresql.service" ];
|
|
||||||
requiredBy = [ "lemmy.service" ];
|
|
||||||
partOf = [ "lemmy.service" ];
|
partOf = [ "lemmy.service" ];
|
||||||
script = with cfg.settings.database; ''
|
script = with cfg.settings.database; ''
|
||||||
PSQL() {
|
PSQL() {
|
||||||
|
Loading…
Reference in New Issue
Block a user