Tweak timeouts

This commit is contained in:
2025-11-25 21:52:21 +02:00
parent e5c465610c
commit 8abc4cf49c
4 changed files with 18 additions and 40 deletions
+1 -1
View File
@@ -432,7 +432,7 @@ func (service *EnitService) StopService() error {
select {
case <-exited:
case <-time.After(5 * time.Second):
case <-time.After(15 * time.Second):
service.GetProcess().Signal(syscall.SIGKILL)
return fmt.Errorf("could not stop process gracefully")
}