From 5d0a597cae7def56bae674366f4af189cad22c41 Mon Sep 17 00:00:00 2001 From: Teemu Toivola Date: Tue, 1 Jul 2014 23:12:39 +0300 Subject: [PATCH] add user and group parameter documentation to daemon man page --- man/vnstatd.1 | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/man/vnstatd.1 b/man/vnstatd.1 index 51272f1..33e1332 100644 --- a/man/vnstatd.1 +++ b/man/vnstatd.1 @@ -1,4 +1,4 @@ -.TH VNSTATD 1 "APRIL 2014" "version 1.12" "User Manuals" +.TH VNSTATD 1 "JULY 2014" "version 1.12" "User Manuals" .SH NAME vnstatd \- daemon based database updating for vnStat @@ -16,6 +16,12 @@ vnstatd \- daemon based database updating for vnStat ] [ .B \-\-debug ] [ +.B \-g +.I group +] [ +.B \-\-group +.I group +] [ .B \-\-help ] [ .B \-\-noadd @@ -27,6 +33,12 @@ vnstatd \- daemon based database updating for vnStat ] [ .B \-\-sync ] [ +.B \-\-u +.I user +] [ +.B \-\-user +.I user +] [ .B \-\-version ] @@ -72,6 +84,15 @@ Fork process to background and run as a daemon. Provide additional output for debug purposes. The process will stay attached to the terminal for output. +.TP +.BI "-g, --group " group +Set daemon process group to +.I group +during startup. +.I group +can be either the name of the group or a numerical group id. This option +can only be used when the process is started as root. + .TP .BI "--noadd" Disable automatic creation of new databases for all available interfaces @@ -103,6 +124,15 @@ the internal counters after a system reboot, if enought time has passed since the daemon was previously running or if the internal counters are clearly out of sync. +.TP +.BI "-u, --user " user +Set daemon process user to +.I user +during startup. +.I user +can be either the login of the user or a numerical user id. This option +can only be used when the process is started as root. + .TP .BI "-v, --version" Show current version of the daemon executable. -- 2.40.0