From 52fa61ec0c67850d7273716a61f8436a6e1653d8 Mon Sep 17 00:00:00 2001 From: rhatto Date: Mon, 2 Oct 2006 15:07:18 +0000 Subject: privoxy: updated rc script git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@301 370017ae-e619-0410-ac65-c121f96126d4 --- privoxy/rc.privoxy.new | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'privoxy/rc.privoxy.new') diff --git a/privoxy/rc.privoxy.new b/privoxy/rc.privoxy.new index f391d40d..932dcc0c 100755 --- a/privoxy/rc.privoxy.new +++ b/privoxy/rc.privoxy.new @@ -8,7 +8,7 @@ PRIVOXY_BIN="/usr/sbin/$PRIVOXY_PRG" PRIVOXY_CONF="/etc/privoxy/config" PRIVOXY_USER="privoxy" PRIVOXY_GROUP="privoxy" -PRIVOXY_PID="/var/run/$PRIVOXY_PRG"/$PRIVOXY_PRG.pid +PRIVOXY_PID="/var/run/$PRIVOXY_PRG/$PRIVOXY_PRG.pid" declare -i check check=(`/bin/ps -e|/bin/grep $PRIVOXY_PRG|/usr/bin/wc -l`) @@ -26,7 +26,7 @@ start () { echo -n $"Starting $PRIVOXY_PRG: " if [ ! -f $PRIVOXY_PID ]; then - ($PRIVOXY --user $PRIVOXY_USER.$PRIVOXY_GROUP --pidfile $PRIVOXY_PID -c $PRIVOXY_CONF 2>/dev/tty9 ) \ + ( $PRIVOXY --user $PRIVOXY_USER.$PRIVOXY_GROUP --pidfile $PRIVOXY_PID -c $PRIVOXY_CONF 2>/dev/tty9 ) \ && echo " OK" \ && /bin/touch /var/lock/$PRIVOXY_PRG \ && RETVAL=0 -- cgit v1.2.3