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
|