Exit the whole worker process when a job was canceled, because osbuild does not clean up all child processes when receiving SIGKILL. Change the service to restart osbuild-worker also on success, and decrease the restart timeout. |
||
|---|---|---|
| .. | ||
| main.go | ||
| osbuild.go | ||