diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/vlib/unix/main.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/vlib/unix/main.c b/src/vlib/unix/main.c index fe1f94d52f3..24ae416dbf4 100755 --- a/src/vlib/unix/main.c +++ b/src/vlib/unix/main.c @@ -564,10 +564,11 @@ unix_config (vlib_main_t * vm, unformat_input_t * input) * * @cfgcmd{runtime-dir} * Define directory where VPP is going to store all runtime files. - * Default is /run/vpp. + * Default is /run/vpp when running as root, /run/user/<UID>/vpp if running as + * an unprivileged user. * * @cfgcmd{cli-listen, <address:port>} - * Bind the CLI to listen at the address and port given. @clocalhost + * Bind the CLI to listen at the address and port given. @c localhost * on TCP port @c 5002, given as <tt>cli-listen localhost:5002</tt>, * is typical. * @@ -579,7 +580,7 @@ unix_config (vlib_main_t * vm, unformat_input_t * input) * Configure the CLI prompt to be @c string. * * @cfgcmd{cli-history-limit, <nn>} - * Limit commmand history to @c nn lines. A value of @c 0 + * Limit command history to @c nn lines. A value of @c 0 * disables command history. Default value: @c 50 * * @cfgcmd{cli-no-banner} @@ -591,6 +592,12 @@ unix_config (vlib_main_t * vm, unformat_input_t * input) * @cfgcmd{cli-pager-buffer-limit, <nn>} * Limit pager buffer to @c nn lines of output. * A value of @c 0 disables the pager. Default value: @c 100000 + * + * @cfgcmd{gid, <nn>} + * Set the effective gid under which the vpp process is to run. + * + * @cfgcmd{poll-sleep-usec, <nn>} + * Set a fixed poll sleep interval between main loop polls. ?*/ VLIB_EARLY_CONFIG_FUNCTION (unix_config, "unix"); |