diff options
Diffstat (limited to 'httpd.service')
-rw-r--r-- | httpd.service | 5 |
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 |