void-packages/srcpkgs/apache/files/apache.service

17 lines
399 B
SYSTEMD
Raw Normal View History

2012-01-27 10:47:02 +01:00
[Unit]
Description=The Apache HTTP Server
After=syslog.target network.target remote-fs.target
Conflicts=apache-mpm-event.service apache-mpm-worker.service
2012-01-27 10:47:02 +01:00
[Service]
Type=forking
PIDFile=/var/run/httpd/httpd.pid
ExecStart=/usr/sbin/httpd -k start
ExecReload=/usr/sbin/httpd -t
ExecReload=/bin/kill -HUP $MAINPID
ExecStop=/usr/sbin/httpd -k stop
PrivateTmp=true
[Install]
WantedBy=multi-user.target