summaryrefslogtreecommitdiff
path: root/sysutils/rsyslog/patches/patch-tools_rsyslogd.8
blob: a5e7380f9a8c4ce594beeeb0b8b42b94f6b385db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-tools_rsyslogd.8,v 1.1 2014/12/12 12:47:46 fhajny Exp $

Default PID file path.
--- tools/rsyslogd.8.orig	2014-12-02 10:15:16.000000000 +0000
+++ tools/rsyslogd.8
@@ -130,14 +130,14 @@ reacts to a set of signals.  You may eas
 using the following:
 .IP
 .nf
-kill -SIGNAL $(cat /var/run/rsyslogd.pid)
+kill -SIGNAL $(cat @RSYSLOG_PIDDIR@/rsyslogd.pid)
 .fi
 .PP
 Note that -SIGNAL must be replaced with the actual signal
 you are trying to send, e.g. with HUP. So it then becomes:
 .IP
 .nf
-kill -HUP $(cat /var/run/rsyslogd.pid)
+kill -HUP $(cat @RSYSLOG_PIDDIR@/rsyslogd.pid)
 .fi
 .PP
 .TP
@@ -218,7 +218,7 @@ for exact information.
 .I /dev/log
 The Unix domain socket to from where local syslog messages are read.
 .TP
-.I /var/run/rsyslogd.pid
+.I @RSYSLOG_PIDDIR@/rsyslogd.pid
 The file containing the process id of 
 .BR rsyslogd .
 .TP