Commit 2abd4310 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Eliminate arguments inherited from vtc_varnish's two-process

handling.
parent 665794fa
...@@ -588,11 +588,6 @@ cmd_haproxy(CMD_ARGS) ...@@ -588,11 +588,6 @@ cmd_haproxy(CMD_ARGS)
av++; av++;
continue; continue;
} }
if (!strcmp(*av, "-cleanup")) {
AZ(av[1]);
haproxy_cleanup(h, 0);
continue;
}
if (!strcmp(*av, "-conf")) { if (!strcmp(*av, "-conf")) {
AN(av[1]); AN(av[1]);
haproxy_write_conf(h, av[1], 0); haproxy_write_conf(h, av[1], 0);
...@@ -614,18 +609,10 @@ cmd_haproxy(CMD_ARGS) ...@@ -614,18 +609,10 @@ cmd_haproxy(CMD_ARGS)
haproxy_start(h); haproxy_start(h);
continue; continue;
} }
if (!strcmp(*av, "-stop")) { if (!strcmp(*av, "-wait")) {
haproxy_stop(h);
continue;
}
if (!strcmp(*av, "-wait-stopped")) {
wait_stopped(h); wait_stopped(h);
continue; continue;
} }
if (!strcmp(*av, "-wait-running")) {
wait_running(h);
continue;
}
vtc_fatal(h->vl, "Unknown haproxy argument: %s", *av); vtc_fatal(h->vl, "Unknown haproxy argument: %s", *av);
} }
} }
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