#!/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 case $1 in start) startproc $POPPROXY_BIN ;; stop) killproc $POPPROXY_BIN ;; restart) $0 stop $0 start ;; *) echo Not implemented. Use one of start, stop or restart. exit 1 ;; esac