File: request-tracker4.init

package info (click to toggle)
request-tracker4 4.4.7%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 62,888 kB
  • sloc: javascript: 130,444; perl: 65,442; sh: 1,350; makefile: 480; python: 37; php: 30
file content (31 lines) | stat: -rw-r--r-- 1,056 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh
#
### BEGIN INIT INFO
# Provides:          request-tracker4
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Should-Start:      mysql postgresql
# Should-Stop:       mysql postgresql
# X-Start-Before:    apache2
# X-Stop-After:      apache2
# Short-Description: Dummy init script to enforce web/database server startup ordering
# Description:       This init script exists so that MySQL or PostgreSQL database servers,
#  if present, will be started before Apache. This is a workaround for the problem in RT
#  where if mod_perl is being used, inability to contact the database server when Apache is
#  being started will cause the web server to fail to start up.
### END INIT INFO

. /lib/lsb/init-functions

case "$1" in
    start|stop|restart|force-reload)
        # we don't have anything to do, but that's okay
        ;;
    *)
        log_action_msg "Usage: /etc/init.d/request-tracker4 {start|stop|restart|force-reload}"
        exit 1
esac

exit 0