Commit a056f998 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Migrate the shell PID to haproxy where we want it.

parent 4438bf41
......@@ -283,7 +283,7 @@ haproxy_start(struct haproxy *h)
vsb = VSB_new_auto();
AN(vsb);
VSB_printf(vsb, "%s %s", h->filename, VSB_data(h->args));
VSB_printf(vsb, "exec %s %s", h->filename, VSB_data(h->args));
if (h->opt_worker || h->opt_daemon) {
bprintf(buf, "%s/pid", h->workdir);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment