use /run for pidfile
This commit is contained in:
parent
7e10e903e3
commit
2e30894d69
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user