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