From 8cc829e06329a0eb75b3d924c9843370e41c9555 Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 26 Dec 2019 04:16:21 +0100 Subject: [PATCH] Use wantedBy instead of partOf --- modules/devops.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/devops.nix b/modules/devops.nix index 298bf23..25be035 100644 --- a/modules/devops.nix +++ b/modules/devops.nix @@ -22,6 +22,6 @@ }; # Restart nginx after startup - systemd.services.nginx.unitConfig.partOf = lib.mkForce [ "gitea.service" ]; + systemd.services.nginx.wantedBy = [ "gitea.service" ]; }