apache-mpm-worker: systemd support.

This commit is contained in:
Juan RP 2012-01-27 11:03:34 +01:00
parent fa26759a14
commit 7363d07c5d
2 changed files with 28 additions and 11 deletions

View file

@ -0,0 +1,16 @@
[Unit]
Description=The Apache HTTP Server (Worker MPM)
After=syslog.target network.target remote-fs.target
Conflicts=apache.target apache-mpm-event.target
[Service]
Type=forking
PIDFile=/var/run/httpd/httpd.pid
ExecStart=/usr/sbin/httpd.worker -k start
ExecReload=/usr/sbin/httpd.worker -t
ExecReload=/bin/kill -HUP $MAINPID
ExecStop=/usr/sbin/httpd.worker -k stop
PrivateTmp=true
[Install]
WantedBy=multi-user.target