feat: kill the service if it persists longer than 9 min
This commit is contained in:
parent
3149a5f99f
commit
7526a82bb7
1 changed files with 2 additions and 0 deletions
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue