Commit b26cdcf1 authored by Ingvar Hagelund's avatar Ingvar Hagelund

Red Hat init scripts: Fix previous fix. Makes rpmlint happy.

git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3150 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 029957b9
......@@ -26,11 +26,11 @@ pidfile=/var/run/varnish.pid
exec="/usr/sbin/varnishd"
prog="varnishd"
config="/etc/sysconfig/varnish"
lockfile="/var/lock/subsys/varnish"
# Include varnish defaults
[ -e /etc/sysconfig/varnish ] && . /etc/sysconfig/varnish
lockfile=/var/lock/subsys/$prog
start() {
......
......@@ -32,8 +32,6 @@ DAEMON_OPTS="-a -w $logfile -D -P $pidfile"
# Include varnish defaults
[ -e /etc/sysconfig/varnishlog ] && . /etc/sysconfig/varnishlog
lockfile=/var/lock/subsys/$prog
start() {
if [ ! -x $exec ]
......
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