summaryrefslogtreecommitdiffstats
path: root/httpd.service
diff options
context:
space:
mode:
authorJoe Orton <jorton@redhat.com>2012-09-13 16:50:50 +0100
committerJoe Orton <jorton@redhat.com>2012-09-13 16:50:50 +0100
commit271938ce0c902ca7d4dfdfffca0b8d23971adbba (patch)
treeb99c38cce636f41eef7e083cc609ab47e4f74b61 /httpd.service
parentd8220f4b1313e111dfb908cbfc3aecc889b7145e (diff)
parenta0a00e754a07374c468b5a65e05b55f46931f456 (diff)
downloadhttpd-271938ce0c902ca7d4dfdfffca0b8d23971adbba.tar.gz
httpd-271938ce0c902ca7d4dfdfffca0b8d23971adbba.tar.xz
httpd-271938ce0c902ca7d4dfdfffca0b8d23971adbba.zip
merge
Diffstat (limited to 'httpd.service')
-rw-r--r--httpd.service5
1 files changed, 2 insertions, 3 deletions
diff --git a/httpd.service b/httpd.service
index 0e9f0c0..b176a92 100644
--- a/httpd.service
+++ b/httpd.service
@@ -3,10 +3,9 @@ Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
[Service]
-Type=forking
-PIDFile=/run/httpd/httpd.pid
+Type=notify
EnvironmentFile=/etc/sysconfig/httpd
-ExecStart=/usr/sbin/httpd $OPTIONS
+ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop
PrivateTmp=true