File otrs-2.4.7-init.patch of Package otrs.import5098

diff -ruN otrs-2.4.7-orig/scripts/suse-rcotrs otrs-2.4.7/scripts/suse-rcotrs
--- otrs-2.4.7-orig/scripts/suse-rcotrs	2009-02-26 11:10:53.000000000 +0000
+++ otrs-2.4.7/scripts/suse-rcotrs	2010-04-06 20:01:18.497176680 +0000
@@ -12,11 +12,14 @@
 
 ### BEGIN INIT INFO
 # Provides:          otrs
-# Required-Start:    mysql apache
-# Required-Stop:
+# Required-Start:    apache2
+# Should-Start:      mysql
+# Required-Stop:     apache2
+# Should-Stop:       mysql
 # Default-Start:     3 5
 # Default-Stop:      0 1 2 6
-# Description:       Open Ticket Request System
+# Short-Description: start OTRS
+# Description:       start OTRS (Open Ticket Request System)
 ### END INIT INFO
 
 export LANG=POSIX
@@ -394,6 +397,16 @@
       rc_status
     ;;
     # ------------------------------------------------------
+    # reload
+    # ------------------------------------------------------
+    reload)
+      ## OTRS does not support reload:
+      rc_failed 3
+
+      # Remember status and be verbose
+      rc_status -v
+    ;;
+    # ------------------------------------------------------
     # cleanup
     # ------------------------------------------------------
     cleanup)
diff -ruN otrs-2.4.7-orig/scripts/suse-rcotrs-config otrs-2.4.7/scripts/suse-rcotrs-config
--- otrs-2.4.7-orig/scripts/suse-rcotrs-config	2003-10-29 20:57:11.000000000 +0000
+++ otrs-2.4.7/scripts/suse-rcotrs-config	2010-04-06 19:52:08.992051015 +0000
@@ -35,7 +35,7 @@
 # Used webserver [apache]
 #
 OTRS_USED_WEBSERVER=Apache
-OTRS_USED_WEBSERVER_RCSCRIPT=rcapache
+OTRS_USED_WEBSERVER_RCSCRIPT=rcapache2
 
 #
 # cron stuff
openSUSE Build Service is sponsored by