summaryrefslogtreecommitdiff
path: root/network/polipo/rc.polipo
diff options
context:
space:
mode:
authorBrenton Earl <brent@exitstatusone.com>2015-11-10 21:52:06 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-14 07:07:34 +0700
commit71cd6add2c6d36fe532990b7c9cd253601a31fb9 (patch)
tree3d8d777cb6d54127950cd6b4dcbc25c145a86f42 /network/polipo/rc.polipo
parent428c9f2d5a1e84ae7fd210f8d779599fd7e29e6d (diff)
downloadslackbuilds-71cd6add2c6d36fe532990b7c9cd253601a31fb9.tar.gz
network/polipo: Updated for version 1.1.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/polipo/rc.polipo')
-rw-r--r--network/polipo/rc.polipo3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/polipo/rc.polipo b/network/polipo/rc.polipo
index c08ae73250..419e9b0fad 100644
--- a/network/polipo/rc.polipo
+++ b/network/polipo/rc.polipo
@@ -5,12 +5,13 @@ PIDFILE="/var/run/polipo/polipo.pid"
start() {
echo "Starting polipo..."
+ mkdir -p $(dirname $PIDFILE)
polipo daemonise=true pidFile=$PIDFILE
}
stop() {
echo "Stopping polipo..."
- kill `cat $PIDFILE`
+ kill $(cat $PIDFILE)
}
case "$1" in