Add support for -P pid_file, like FreeBSD syslogd

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2019-10-29 13:54:36 +01:00
parent b67d57cf59
commit fc4840a698
2 changed files with 16 additions and 2 deletions

View File

@@ -23,6 +23,9 @@ sysklogd \- Linux system logging utilities.
.I interval
]
.RB [ " \-n " ]
.RB [ " \-P "
.I pid file
]
.RB [ " \-p"
.IB socket
]
@@ -154,6 +157,11 @@ Avoid auto-backgrounding. This is needed especially if the
is started and controlled by
.BR init (8).
.TP
.BI "\-P " "pid_file"
Specify an alternative file in which to store the process ID.
The default is
.IR /var/run/syslog.pid .
.TP
.BI "\-p " "socket"
You can specify an alternative unix domain socket instead of
.IR /dev/log "."