void-packages/srcpkgs/apache/files/apache.service
2012-01-27 10:47:02 +01:00

16 lines
397 B
Desktop File

[Unit]
Description=The Apache HTTP Server
After=syslog.target network.target remote-fs.target
Conflicts=apache-mpm-event.target apache-mpm-worker.target
[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