summaryrefslogtreecommitdiff
path: root/www/privoxy/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-11-15 20:48:23 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-11-15 20:48:23 +0000
commitc102162b3ad647d08a0df0d3bb3581fe444bc071 (patch)
treec1cd84639798cb3a750a0f60224975a1bdcd0200 /www/privoxy/files
parentFix pkg-plist (diff)
- Fix rc script
Reported by: Adam McMaster <adam@moosoft.net>
Diffstat (limited to 'www/privoxy/files')
-rw-r--r--www/privoxy/files/privoxy.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/privoxy/files/privoxy.sh.in b/www/privoxy/files/privoxy.sh.in
index 3080acb75218..f29bb8c32b2a 100644
--- a/www/privoxy/files/privoxy.sh.in
+++ b/www/privoxy/files/privoxy.sh.in
@@ -11,7 +11,7 @@
#
privoxy_enable=${privoxy_enable-"NO"}
privoxy_flags=${privoxy_flags-""}
-privoxy_pidfile=${privoxy_pidfile-"/var/run/privoxy.pid"}
+privoxy_pidfile=${privoxy_pidfile-"/var/run/privoxy/privoxy.pid"}
. %%RC_SUBR%%
@@ -30,7 +30,7 @@ privoxy_start()
echo "${name} is already running"
else
echo "Starting ${name}."
- su -m privoxy -c '${command} ${privoxy_flags} ${configfile} --pidfile ${pidfile}' \
+ su -m privoxy -c "${command} ${privoxy_flags} ${configfile} --pidfile ${pidfile}" \
1>/dev/null 2>&1
fi
}