aboutsummaryrefslogtreecommitdiff
path: root/contrib/polipo/Polipo
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/polipo/Polipo')
-rw-r--r--contrib/polipo/Polipo40
1 files changed, 0 insertions, 40 deletions
diff --git a/contrib/polipo/Polipo b/contrib/polipo/Polipo
deleted file mode 100644
index 14589c84d..000000000
--- a/contrib/polipo/Polipo
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-
-##
-# Polipo
-##
-
-. /etc/rc.common
-
-StartService ()
-{
- if [ -f /Library/Polipo/bin/polipo ]; then
- if pid=$(GetPID polipo); then
- return 0
- else if [ "${POLIPO:=-NO-}" = "-YES-" ]; then
- ConsoleMessage "Starting Polipo"
- /Library/Polipo/bin/polipo -c /Library/Polipo/www/config
- fi
- fi
- fi
-}
-
-StopService ()
-{
- if pid=$(GetPID polipo); then
- ConsoleMessage "Stopping Polipo"
- kill -TERM "${pid}"
- else
- ConsoleMessage "Polipo not responding."
-# Just for sanity (sometimes necessary.)
- killall tor 2>/dev/null
- fi
-}
-
-RestartService ()
-{
- StopService
- StartService
-}
-
-RunService "$1"