File: request-tracker4.service

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 (18 lines) | stat: -rw-r--r-- 568 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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.

[Unit]
Description=Dummy service to enforce web/database server startup ordering
After=mysql postgresql
Before=apache2

[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/bin/true

[Install]
WantedBy=multi-user.target
Alias=request-tracker4.service