* when rotate_logs restarts the process due to the file being
above the size limit, the new PID is not returned to the
caller
* this leads to signal_child signaling the old, non-existing PID
and subsequently a second master process being started
* fixed by returning the PID from rotate_logs