1. Guillaume Duhamel
  2. gophrier

Commits

Guillaume Duhamel  committed 206be93

Updated man pages with group / user information

  • Participants
  • Parent commits 6df926b
  • Branches 0.2

Comments (0)

Files changed (1)

File doc/gophrier.1

View file
 .SH SYNOPSIS
 .B gophrier
 [ \fB\-4\fP ] [ \fB\-6\fP ] [ \fB\-b 0|1\fP ] [ \fB\-c <PATH>\fP ] [ \fB\-d 0|1\fP ] [ \fB\-g 0|1\fP ]
-[ \fB\-l <PATH>\fP ] [ \fB\-p <PORT>\fP ] [ \fB\-\-pidfile <PATH>\fP ] [ \fB\-r <PATH>\fP ] [ \fB\-s 0|1\fP ] [ \fB\-h\fP ]
+[ \fF\-\-group <GROUP>\fP ]
+[ \fB\-l <PATH>\fP ] [ \fB\-p <PORT>\fP ] [ \fB\-\-pidfile <PATH>\fP ] [ \fB\-r <PATH>\fP ] [ \fB\-s 0|1\fP ]
+[ \fF\-\-user <USER>\fP ]
+[ \fB\-h\fP ]
 .SH DESCRIPTION
 \fBGophrier\fP is a Gopher protocol server.
 .SH OPTIONS
 .BI \-g
 Tell Gophrier to display content of gophermap files (1) instead of directory content (0).
 .TP
+.BI \-\-group
+When Gophrier has root privileges, change the group of Gophrier to the specified group.
+.TP
 .BI \-h
 Display help information and exit.
 .TP
 .TP
 .BI \-s
 Display symlinks (1) or not (0).
+.TP
+.BI \-\-user
+When Gophrier has root privileges, drop those privileges when it no longer needs them and use uid and gid of the specified USER.
 .SH CONFIGURATION FILES
 Gophrier reads its configuration from a hierarchy of files. Each element of configuration is in a different file.
 .TP
 \fB<confdir>/daemon\fR
 Wether to run Gophrier as a daemon (1) or not (0). Default is to run as a daemon.
 .TP
+\fB<confdir>/group\fR
+When Gophrier has root privileges, change the group of Gophrier to the specified group.
+.TP
 \fB<confdir>/ipv6\fR
 Wether Gopher should use the IPv6 protocol (1) or IPv4 (0). Default is to use IPv4 protocol.
 .TP
 When set to something else than "ext" and module does not exists or module support is not enabled, Gophrier will fallback to dummy
 type helper.
 .TP
+\fB<confdir>/user\fR
+When Gophrier has root privileges, drop those privileges when it no longer needs them and use uid and gid of the specified USER.
+.TP
 \fB<confdir>/gophermap/enable\fR
 Whether Gophrier should display gophermap (1) or directory content (0).
 .TP