Configure nginx service as dependent on gitea
This commit is contained in:
parent
e8850eff51
commit
caf4a49ec2
|
@ -22,6 +22,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Restart nginx after startup
|
# Restart nginx after startup
|
||||||
systemd.services.gitea.postStart = "systemctl restart nginx";
|
systemd.services.nginx.partOf = [ "gitea.service" ];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue