|
|
@ -274,6 +274,7 @@ retry: |
|
|
|
} else |
|
|
|
} else |
|
|
|
LOGWARNING("Failed to send_procmsg to connector"); |
|
|
|
LOGWARNING("Failed to send_procmsg to connector"); |
|
|
|
} else if (cmdmatch(buf, "restart")) { |
|
|
|
} else if (cmdmatch(buf, "restart")) { |
|
|
|
|
|
|
|
LOGWARNING("Listener received restart message, attempting handover"); |
|
|
|
send_unix_msg(sockd, "restarting"); |
|
|
|
send_unix_msg(sockd, "restarting"); |
|
|
|
if (!fork()) { |
|
|
|
if (!fork()) { |
|
|
|
if (!ckp->handover) { |
|
|
|
if (!ckp->handover) { |
|
|
|