#!/bin/sh ### BEGIN INIT INFO # Provides: popproxy # Required-Start: # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 1 # Short-Description: POP Proxy ### END INIT INFO POPPROXY_BIN=/usr/sbin/popproxy if [ -f /etc/init.d/functions ] . /etc/init.d/functions fi case $1 in start) daemon $POPPROXY_BIN ;; stop) killproc $POPPROXY_BIN ;; restart) $0 stop $0 start ;; *) echo Not implemented. Use one of start, stop or restart. exit 1 ;; esac