lemmy: systemd postgresql setup service cleanup

This commit is contained in:
happysalada
2021-10-30 09:16:09 +09:00
committed by Raphael Megzari
parent 39423b9f03
commit a8f9539d01
@@ -214,8 +214,6 @@ in
systemd.services.lemmy-postgresql = mkIf cfg.settings.database.createLocally {
description = "Lemmy postgresql db";
after = [ "postgresql.service" ];
bindsTo = [ "postgresql.service" ];
requiredBy = [ "lemmy.service" ];
partOf = [ "lemmy.service" ];
script = with cfg.settings.database; ''
PSQL() {