use /run for pidfile

This commit is contained in:
Joe Orton 2012-06-07 14:02:50 +01:00
parent 7e10e903e3
commit 2e30894d69

View File

@ -4,7 +4,7 @@ After=syslog.target network.target remote-fs.target nss-lookup.target
[Service]
Type=forking
PIDFile=/var/run/httpd/httpd.pid
PIDFile=/run/httpd/httpd.pid
EnvironmentFile=/etc/sysconfig/httpd
ExecStart=/usr/sbin/httpd $OPTIONS
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful