summaryrefslogtreecommitdiffstats
path: root/httpd.service
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-10-05 18:48:49 +0200
committerRemi Collet <fedora@famillecollet.com>2012-10-05 18:48:49 +0200
commit3aad8e0ac5256cafbdaeaa17653e700ba8ead0a9 (patch)
tree56a2c98235930abcc0d94f1261b6d2ee2b15f55b /httpd.service
parenta28d244176270bc2881b6d48f9c41d3cb73108e4 (diff)
httpd: sync with rawhide
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