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)
av++;
continue;
}
if (!strcmp(*av, "-cleanup")) {
AZ(av[1]);
haproxy_cleanup(h, 0);
continue;
}
if (!strcmp(*av, "-conf")) {
AN(av[1]);
haproxy_write_conf(h, av[1], 0);
......@@ -614,18 +609,10 @@ cmd_haproxy(CMD_ARGS)
haproxy_start(h);
continue;
}
if (!strcmp(*av, "-stop")) {
haproxy_stop(h);
continue;
}
if (!strcmp(*av, "-wait-stopped")) {
if (!strcmp(*av, "-wait")) {
wait_stopped(h);
continue;
}
if (!strcmp(*av, "-wait-running")) {
wait_running(h);
continue;
}
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