forked from mirrors/tftp-hpa-google
Implement the --pidfile option
Setting the umask moved later, right before entering the select loop, so that it does not affect the permissions of the pid file. Signed-off-by: Ferenc Wagner <wferi@niif.hu> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
5a27e30ec2
commit
c86f82532e
2 changed files with 50 additions and 4 deletions
|
@ -133,6 +133,11 @@ system-provided access controls for the user specified via the
|
|||
.B \-\-user
|
||||
option.
|
||||
.TP
|
||||
\fB\-\-pidfile\fP \fIpidfile\fP, \fB\-P\fP \fIpidfile\fP When run in
|
||||
standalone mode, write the process ID of the listening server into
|
||||
\fIpidfile\fP. On normal termination (SIGTERM or SIGINT) the pid file
|
||||
is automatically removed.
|
||||
.TP
|
||||
\fB\-\-timeout\fP \fItimeout\fP, \fB\-t\fP \fItimeout\fP
|
||||
When run from
|
||||
.B inetd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue