From a8f9539d0171a5ae9285692805c0b206cfee9fde Mon Sep 17 00:00:00 2001 From: happysalada Date: Tue, 26 Oct 2021 19:11:01 +0900 Subject: [PATCH] lemmy: systemd postgresql setup service cleanup --- nixos/modules/services/web-apps/lemmy.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/nixos/modules/services/web-apps/lemmy.nix b/nixos/modules/services/web-apps/lemmy.nix index ae7d0d02c894..7cd2357c4556 100644 --- a/nixos/modules/services/web-apps/lemmy.nix +++ b/nixos/modules/services/web-apps/lemmy.nix @@ -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() {