dee2158b5a
try-restart and force-reload (#522743)
28 lines
878 B
Diff
28 lines
878 B
Diff
diff -up sysstat-9.0.4/sysstat.in.ii sysstat-9.0.4/sysstat.in
|
|
--- sysstat-9.0.4/sysstat.in.ii 2009-02-15 15:49:24.000000000 +0100
|
|
+++ sysstat-9.0.4/sysstat.in 2009-09-14 15:22:34.000000000 +0200
|
|
@@ -4,11 +4,13 @@
|
|
# @INIT_DIR@/sysstat
|
|
# (C) 2000-2009 Sebastien Godard (sysstat <at> orange.fr)
|
|
#
|
|
+### BEGIN INIT INFO
|
|
# Description: Reset the system activity logs
|
|
+# Short-Description: reset the system activity logs
|
|
#@(#) @PACKAGE_NAME@-@PACKAGE_VERSION@ startup script:
|
|
#@(#) Insert a dummy record in current daily data file.
|
|
#@(#) This indicates that the counters have restarted from 0.
|
|
-#
|
|
+### END INIT INFO
|
|
|
|
RETVAL=0
|
|
SYSCONFIG_DIR=@SYSCONFIG_DIR@
|
|
@@ -31,7 +33,7 @@ case "$1" in
|
|
fi
|
|
echo
|
|
;;
|
|
- stop|status|restart|reload)
|
|
+ stop|status|restart|reload|force-reload|condrestart|try-restart)
|
|
;;
|
|
*)
|
|
echo "Usage: sysstat {start|stop|status|restart|reload}"
|