apache-mpm-worker: systemd support.
This commit is contained in:
parent
fa26759a14
commit
7363d07c5d
2 changed files with 28 additions and 11 deletions
16
srcpkgs/apache-mpm-worker/files/apache-mpm-worker.service
Normal file
16
srcpkgs/apache-mpm-worker/files/apache-mpm-worker.service
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue