diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-04-16 16:10:30 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-04-16 16:10:30 +0200 |
commit | c0d77ab6a4bdf0c18fa1084afa2c8a425bb12c94 (patch) | |
tree | db8ccf2eeed5ab0421e8ced3de13e7244e68df99 /httpd.service | |
parent | 60d0b8d1d6adb833707a4b3942151036110869fe (diff) |
httpd: sync with rawhide
Diffstat (limited to 'httpd.service')
-rw-r--r-- | httpd.service | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/httpd.service b/httpd.service index b176a92..307666c 100644 --- a/httpd.service +++ b/httpd.service @@ -8,6 +8,12 @@ EnvironmentFile=/etc/sysconfig/httpd ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND ExecReload=/usr/sbin/httpd $OPTIONS -k graceful ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop +# We want systemd to give httpd some time to finish gracefully, but still want +# it to kill httpd after TimeoutStopSec if something went wrong during the +# graceful stop. Normally, Systemd sends SIGTERM signal right after the +# ExecStop, which would kill httpd. We are sending useless SIGCONT here to give +# httpd time to finish. +KillSignal=SIGCONT PrivateTmp=true [Install] |