File: etc_pidpath.diff

package info (click to toggle)
jabberd2 2.7.0-9
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,192 kB
  • sloc: ansic: 37,104; sh: 1,100; perl: 656; xml: 561; makefile: 511; python: 238; ruby: 145; sql: 55
file content (47 lines) | stat: -rw-r--r-- 1,700 bytes parent folder | download | duplicates (7)
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>