Configure nginx service as dependent on gitea

This commit is contained in:
2019-12-25 16:37:11 +01:00
parent e8850eff51
commit caf4a49ec2

View File

@@ -22,6 +22,6 @@
};
# Restart nginx after startup
systemd.services.gitea.postStart = "systemctl restart nginx";
systemd.services.nginx.partOf = [ "gitea.service" ];
}