Browse code

BM-13221 Fix: add pidfile redhat header

Anthony Prades authored on 07/06/2018 15:42:19
Showing 26 changed files
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-core.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-core
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-core.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-core
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-eas.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-eas
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-eas.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-eas
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-hps.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-hps
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-hps.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-hps
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-ips.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-ips
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-ips.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-ips
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-lmtpd.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-lmtpd
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-lmtpd.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-lmtpd
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-locator.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-locator
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-locator.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-locator
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-milter.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-milter
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-milter.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-milter
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-node.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-node
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-node.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-node
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-tika.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-tika
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-tika.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-tika
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-webserver.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-webserver
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-webserver.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-webserver
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-xivobridge.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-xivobridge
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-xivobridge.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-xivobridge
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-xmpp.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-xmpp
... ...
@@ -1,4 +1,5 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-xmpp.pid
2 3
 #
3 4
 ### BEGIN INIT INFO
4 5
 # Provides: bm-xmpp
... ...
@@ -1,4 +1,6 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-ysnp.pid
3
+#
2 4
 ### BEGIN INIT INFO
3 5
 # Provides: bm-ysnp
4 6
 # Required-Start: $syslog $network
... ...
@@ -22,7 +24,7 @@ test -f $JAVA_HOME/bin/java || {
22 22
 }
23 23
 
24 24
 
25
-ysnp_pidfile=/var/run/ysnp.pid
25
+ysnp_pidfile=/var/run/bm-ysnp.pid
26 26
 ysnp_home=/usr/share/bm-ysnp
27 27
 ysnp_logs=/var/log/bm-ysnp/ysnp.log
28 28
 jps=$JAVA_HOME/bin/jps
... ...
@@ -1,4 +1,6 @@
1 1
 #!/bin/bash
2
+# pidfile: /var/run/bm-ysnp.pid
3
+#
2 4
 ### BEGIN INIT INFO
3 5
 # Provides: bm-ysnp
4 6
 # Required-Start: $syslog $network
... ...
@@ -22,7 +24,7 @@ test -f $JAVA_HOME/bin/java || {
22 22
 }
23 23
 
24 24
 
25
-ysnp_pidfile=/var/run/ysnp.pid
25
+ysnp_pidfile=/var/run/bm-ysnp.pid
26 26
 ysnp_home=/usr/share/bm-ysnp
27 27
 ysnp_logs=/var/log/bm-ysnp/ysnp.log
28 28
 jps=$JAVA_HOME/bin/jps