aboutsummaryrefslogtreecommitdiff
path: root/privoxy
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-10-02 15:07:18 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-10-02 15:07:18 +0000
commit52fa61ec0c67850d7273716a61f8436a6e1653d8 (patch)
treec2c9b9f42d9b709cc99ad0a1f77405b95d2b2c5b /privoxy
parent4b7458deb74b0cec54224cba95c9aa3a246c1fb5 (diff)
downloadslackbuilds-52fa61ec0c67850d7273716a61f8436a6e1653d8.tar.gz
slackbuilds-52fa61ec0c67850d7273716a61f8436a6e1653d8.tar.bz2
privoxy: updated rc script
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@301 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'privoxy')
-rwxr-xr-xprivoxy/privoxy.SlackBuild2
-rwxr-xr-xprivoxy/rc.privoxy.new4
2 files changed, 3 insertions, 3 deletions
diff --git a/privoxy/privoxy.SlackBuild b/privoxy/privoxy.SlackBuild
index e4a6d3f9..b0bce519 100755
--- a/privoxy/privoxy.SlackBuild
+++ b/privoxy/privoxy.SlackBuild
@@ -17,7 +17,7 @@ fi
PACKAGE="privoxy"
VERSION=${VERSION:=3.0.3}
ARCH="${ARCH:=i486}"
-BUILD=${BUILD:=1rha}
+BUILD=${BUILD:=2rha}
SRC_DIR=${SRC:=$CWD}
TMP=${TMP:=/tmp}
REPOS=${REPOS:=$TMP}
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