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" ]; }