feat: kill the service if it persists longer than 9 min
All checks were successful
/ check_lfs (push) Successful in 4s
On_Push / lint_fmt (push) Successful in 10s
On_Push / lint_clippy (push) Successful in 1m13s
On_Push / build (push) Successful in 1m36s
On_Push / deploy (push) Successful in 11s

This commit is contained in:
silver 2025-09-04 23:11:24 +01:00
parent 3149a5f99f
commit 7526a82bb7
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -128,6 +128,8 @@
User = "${cfg.user}";
Group = "${cfg.user}";
ExecStart = "${self.defaultPackage."${system}"}/bin/${script}";
# kill each service if its ran for 9 min
TimeoutStartSec=540;
EnvironmentFile = [
"${cfg.env.discord}"
"${cfg.env.mail}"