Commit 89d2b2ba authored by Tollef Fog Heen's avatar Tollef Fog Heen

Only strip out -p to status/killproc for old fedora/RHEL

It seems most RPM-based distros has the -p switch to killproc and
status those days, so only blacklist the ones we know about that does
not have it.

Fixes: #969
parent 5d937779
......@@ -110,7 +110,7 @@ EOF
tail -n +11 etc/default.vcl >> redhat/default.vcl
%if 0%{?fedora}%{?rhel} == 0 || 0%{?rhel} <= 4 && 0%{?fedora} <= 8
%if 0%{?fedora}%{?rhel} != 0 && 0%{?rhel} <= 4 && 0%{?fedora} <= 8
# Old style daemon function
sed -i 's,--pidfile \$pidfile,,g;
s,status -p \$pidfile,status,g;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment