LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 01-remove-runlevel-4-from-init.patch of Package ntopng (Project home:luizluca:branches:server:monitoring)

Index: ntopng-1.1_6932/packages/etc/init.d/ntopng
===================================================================
--- ntopng-1.1_6932.orig/packages/etc/init.d/ntopng
+++ ntopng-1.1_6932/packages/etc/init.d/ntopng
@@ -6,7 +6,7 @@
 # Provides:          ntopng
 # Required-Start:    $local_fs $remote_fs $network $syslog $pf_ring
 # Required-Stop:     $local_fs $remote_fs $network $syslog
-# Default-Start:     2 3 4 5
+# Default-Start:     2 3 5
 # Default-Stop:      0 1 6
 # Short-Description: Start/stop ntopng web
 ### END INIT INFO
@@ -118,6 +118,7 @@ case "$1" in
 	status_ntopng;
 	;;
 
+  reload)
   restart)
         stop_ntopng;
 	echo "Waiting ntopng to shutdown and flush data..."