File otrs-2.4.7-init.patch of Package otrs

Index: scripts/suse-rcotrs
===================================================================
--- scripts/suse-rcotrs.orig
+++ scripts/suse-rcotrs
@@ -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 @@ case "$1" in
       rc_status
     ;;
     # ------------------------------------------------------
+    # reload
+    # ------------------------------------------------------
+    reload)
+      ## OTRS does not support reload:
+      rc_failed 3
+
+      # Remember status and be verbose
+      rc_status -v
+    ;;
+    # ------------------------------------------------------
     # cleanup
     # ------------------------------------------------------
     cleanup)
Index: scripts/suse-rcotrs-config
===================================================================
--- scripts/suse-rcotrs-config.orig
+++ scripts/suse-rcotrs-config
@@ -35,7 +35,7 @@ OTRS_USED_DB_RCSCRIPT=rcmysql
 # 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