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

17 lines
396 B
Desktop File

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