This is happening because the respawn handling code is before the checks for a running post-start script in job_process_terminated()
Moving the checks for JOB_POST_START and JOB_PRE_STOP above the respawn checking would be sufficient to avoid the assert()
This is happening because the respawn handling code is before the checks for a running post-start script in job_process_ terminated( )
Moving the checks for JOB_POST_START and JOB_PRE_STOP above the respawn checking would be sufficient to avoid the assert()