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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
Description: Changes in etc files the path of the pidfiles
Author: Jorge Salamero Sanz <bencer@cauterized.net>
--- a/etc/c2s.xml.dist.in
+++ b/etc/c2s.xml.dist.in
@@ -5,7 +5,7 @@
<!-- The process ID file. Comment this out if you don't need to know
the process ID from outside the process (eg for control scripts) -->
- <pidfile>@localstatedir@/@package@/pid/${id}.pid</pidfile>
+ <pidfile>/var/run/jabberd2/c2s.pid</pidfile>
<!-- Router connection configuration -->
<router>
--- a/etc/router.xml.dist.in
+++ b/etc/router.xml.dist.in
@@ -5,7 +5,7 @@
<!-- The process ID file. Comment this out if you don't need to know
the process ID from outside the process (eg for control scripts) -->
- <pidfile>@localstatedir@/@package@/pid/${id}.pid</pidfile>
+ <pidfile>/var/run/jabberd2/router.pid</pidfile>
<!-- Log configuration - type is "syslog", "file" or "stdout" -->
<log type='file'>
--- a/etc/s2s.xml.dist.in
+++ b/etc/s2s.xml.dist.in
@@ -5,7 +5,7 @@
<!-- The process ID file. Comment this out if you don't need to know
the process ID from outside the process (eg for control scripts) -->
- <pidfile>@localstatedir@/@package@/pid/${id}.pid</pidfile>
+ <pidfile>/var/run/jabberd2/s2s.pid</pidfile>
<!-- Router connection configuration -->
<router>
--- a/etc/sm.xml.dist.in
+++ b/etc/sm.xml.dist.in
@@ -5,7 +5,7 @@
<!-- The process ID file. Comment this out if you don't need to know
the process ID from outside the process (eg for control scripts) -->
- <pidfile>@localstatedir@/@package@/pid/${id}.pid</pidfile>
+ <pidfile>/var/run/jabberd2/sm.pid</pidfile>
<!-- Router connection configuration -->
<router>
|