From 2561d26b95db4e39a818155becdb23ec28ff8ef4 Mon Sep 17 00:00:00 2001 From: "roberto@quantal64" Date: Mon, 16 Jul 2012 12:22:28 +0200 Subject: [PATCH] added --privileged-binary-patch-arg and --unprivileged-binary-patch-arg [2] --- core/uwsgi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/uwsgi.c b/core/uwsgi.c index b0f06c52..93ab1af2 100644 --- a/core/uwsgi.c +++ b/core/uwsgi.c @@ -320,6 +320,8 @@ static struct uwsgi_option uwsgi_base_options[] = { {"binary-path", required_argument, 0, "force binary path", uwsgi_opt_set_str, &uwsgi.binary_path, 0}, {"privileged-binary-patch", required_argument, 0, "patch the uwsgi binary with a new command (before privileges drop)", uwsgi_opt_set_str, &uwsgi.privileged_binary_patch, 0}, {"unprivileged-binary-patch", required_argument, 0, "patch the uwsgi binary with a new command (after privileges drop)", uwsgi_opt_set_str, &uwsgi.unprivileged_binary_patch, 0}, + {"privileged-binary-patch-arg", required_argument, 0, "patch the uwsgi binary with a new command and arguments (before privileges drop)", uwsgi_opt_set_str, &uwsgi.privileged_binary_patch_arg, 0}, + {"unprivileged-binary-patch-arg", required_argument, 0, "patch the uwsgi binary with a new command and arguments (after privileges drop)", uwsgi_opt_set_str, &uwsgi.unprivileged_binary_patch_arg, 0}, #ifdef UWSGI_ASYNC {"async", required_argument, 0, "enable async mode with specified cores", uwsgi_opt_set_int, &uwsgi.async, 0}, #endif