privoxy-start.sh 233 B

12345678910111213
  1. #!/bin/sh
  2. CONFFILE=/etc/privoxy/config
  3. PIDFILE=/var/run/privoxy.pid
  4. if [ ! -f "${CONFFILE}" ]; then
  5. echo "Configuration file ${CONFFILE} not found!"
  6. exit 1
  7. fi
  8. /usr/sbin/privoxy --no-daemon --pidfile "${PIDFILE}" "${CONFFILE}"