079c83dcc0
The rc system does not wait till the child terminated. Added a logic to wait for parent and child pid to terminate before starting it again. That fixes an issue if gitlab-runner has a long run job active while a restart is triggered. PR: 296226