File: 03_INIT.D_LSB_FIX.patch

package info (click to toggle)
collectl 4.3.20.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,256 kB
  • sloc: perl: 17,579; sh: 517; makefile: 17
file content (23 lines) | stat: -rw-r--r-- 741 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff -urpN -urN ori/initd/collectl-debian new/initd/collectl-debian
--- ori/initd/collectl-debian	2014-09-10 12:56:41.000000000 -0600
+++ new/initd/collectl-debian	2014-09-10 14:38:58.994550508 -0600
@@ -5,8 +5,8 @@
 
 ### BEGIN INIT INFO
 # Provides:          collectl
-# Required-Start:    $all
-# Required-Stop:     $all
+# Required-Start:    $local_fs $network $remote_fs $syslog $time
+# Required-Stop:     $local_fs $network $remote_fs $syslog $time
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Collectl monitors system performance.
@@ -30,6 +30,8 @@
 PERL=/usr/bin/perl
 COLLECTL=/usr/bin/collectl
 
+. /lib/lsb/init-functions
+
 if [ ! -f $PERL ]; then
     echo -n "Cannot find $PERL"
     exit 0