altarch-user / rpms / httpd

Forked from rpms/httpd 2 years ago
Clone

Blame SOURCES/httpd.service

008793
[Unit]
008793
Description=The Apache HTTP Server
008793
After=network.target remote-fs.target nss-lookup.target
008793
Documentation=man:httpd(8)
008793
Documentation=man:apachectl(8)
008793
008793
[Service]
008793
Type=notify
008793
EnvironmentFile=/etc/sysconfig/httpd
008793
ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
008793
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
008793
ExecStop=/bin/kill -WINCH ${MAINPID}
008793
# We want systemd to give httpd some time to finish gracefully, but still want
008793
# it to kill httpd after TimeoutStopSec if something went wrong during the
008793
# graceful stop. Normally, Systemd sends SIGTERM signal right after the
008793
# ExecStop, which would kill httpd. We are sending useless SIGCONT here to give
008793
# httpd time to finish.
008793
KillSignal=SIGCONT
008793
PrivateTmp=true
008793
008793
[Install]
008793
WantedBy=multi-user.target