Line 0
Link Here
|
|
|
1 |
diff --git a/plugins/imuxsock/imuxsock.c b/plugins/imuxsock/imuxsock.c |
2 |
index 1618fde94..a236dab69 100644 |
3 |
--- a/plugins/imuxsock/imuxsock.c |
4 |
+++ b/plugins/imuxsock/imuxsock.c |
5 |
@@ -75,7 +75,7 @@ MODULE_CNFNAME("imuxsock") |
6 |
/* defines */ |
7 |
#ifndef _PATH_LOG |
8 |
#ifdef BSD |
9 |
-#define _PATH_LOG "/var/run/log" |
10 |
+#define _PATH_LOG "/run/log" |
11 |
#else |
12 |
#define _PATH_LOG "/dev/log" |
13 |
#endif |
14 |
diff --git a/tools/omfwd.c b/tools/omfwd.c |
15 |
index e063f2e6b..62027efa3 100644 |
16 |
--- a/tools/omfwd.c |
17 |
+++ b/tools/omfwd.c |
18 |
@@ -798,7 +798,7 @@ static rsRetVal changeToNs(instanceData *const pData __attribute__((unused))) |
19 |
} |
20 |
|
21 |
/* build network namespace path */ |
22 |
- if (asprintf(&nsPath, "/var/run/netns/%s", pData->networkNamespace) == -1) { |
23 |
+ if (asprintf(&nsPath, "/run/netns/%s", pData->networkNamespace) == -1) { |
24 |
LogError(0, RS_RET_OUT_OF_MEMORY, "omfwd: asprintf failed"); |
25 |
ABORT_FINALIZE(RS_RET_OUT_OF_MEMORY); |
26 |
} |
27 |
diff --git a/tools/rsyslogd.8 b/tools/rsyslogd.8 |
28 |
index 2b320f859..788564d71 100644 |
29 |
--- a/tools/rsyslogd.8 |
30 |
+++ b/tools/rsyslogd.8 |
31 |
@@ -128,14 +128,14 @@ reacts to a set of signals. You may easily send a signal to |
32 |
using the following: |
33 |
.IP |
34 |
.nf |
35 |
-kill -SIGNAL $(cat /var/run/rsyslogd.pid) |
36 |
+kill -SIGNAL $(cat /run/rsyslogd.pid) |
37 |
.fi |
38 |
.PP |
39 |
Note that -SIGNAL must be replaced with the actual signal |
40 |
you are trying to send, e.g. with HUP. So it then becomes: |
41 |
.IP |
42 |
.nf |
43 |
-kill -HUP $(cat /var/run/rsyslogd.pid) |
44 |
+kill -HUP $(cat /run/rsyslogd.pid) |
45 |
.fi |
46 |
.PP |
47 |
.TP |
48 |
@@ -216,7 +216,7 @@ for exact information. |
49 |
.I /dev/log |
50 |
The Unix domain socket to from where local syslog messages are read. |
51 |
.TP |
52 |
-.I /var/run/rsyslogd.pid |
53 |
+.I /run/rsyslogd.pid |
54 |
The file containing the process id of |
55 |
.BR rsyslogd . |
56 |
.TP |
57 |
diff --git a/tools/rsyslogd.c b/tools/rsyslogd.c |
58 |
index fe5dff890..788fa1839 100644 |
59 |
--- a/tools/rsyslogd.c |
60 |
+++ b/tools/rsyslogd.c |
61 |
@@ -155,7 +155,7 @@ void rsyslogdDoDie(int sig); |
62 |
#if defined(_AIX) /* AIXPORT : Add _AIX */ |
63 |
# define PATH_PIDFILE "/etc/rsyslogd.pid" |
64 |
#else |
65 |
-# define PATH_PIDFILE "/var/run/rsyslogd.pid" |
66 |
+# define PATH_PIDFILE "/run/rsyslogd.pid" |
67 |
#endif /*_AIX*/ |
68 |
#endif |
69 |
|