Browse Source

Give listener response to restart request

master
Con Kolivas 10 years ago
parent
commit
b99efe8071
  1. 1
      src/ckpool.c

1
src/ckpool.c

@ -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")) {
send_unix_msg(sockd, "restarting");
if (!fork()) { if (!fork()) {
if (!ckp->handover) { if (!ckp->handover) {
ckp->initial_args[ckp->args++] = strdup("-H"); ckp->initial_args[ckp->args++] = strdup("-H");

Loading…
Cancel
Save