From caf4a49ec2796948213539f0dcb6a38d51228f6f Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 25 Dec 2019 16:37:11 +0100 Subject: [PATCH] Configure nginx service as dependent on gitea --- modules/devops.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/devops.nix b/modules/devops.nix index a8b8b9d..3165b06 100644 --- a/modules/devops.nix +++ b/modules/devops.nix @@ -22,6 +22,6 @@ }; # Restart nginx after startup - systemd.services.gitea.postStart = "systemctl restart nginx"; + systemd.services.nginx.partOf = [ "gitea.service" ]; }