kernel: updated i586 config and rootfiles
[ipfire-2.x.git] / src / initscripts / packages / pound
1 #!/bin/sh
2 ########################################################################
3 # Begin $rc_base/init.d/pound
4 #
5 # Description : pound reverse-proxy
6 #
7 ########################################################################
8
9 . /etc/sysconfig/rc
10 . ${rc_functions}
11
12 case "${1}" in
13         start)
14                 boot_mesg "Starting pound reverse-proxy..."
15                 loadproc /usr/sbin/pound
16                 ;;
17
18         stop)
19                 boot_mesg "Stopping pound reverse-proxy..."
20                 killproc /usr/sbin/pound
21                 ;;
22
23         restart)
24                 ${0} stop
25                 sleep 1
26                 ${0} start
27                 ;;
28
29         status)
30                 statusproc /usr/sbin/pound
31                 ;;
32
33         *)
34                 echo "Usage: ${0} {start|stop|restart|status}"
35                 exit 1
36                 ;;
37 esac
38
39 # End $rc_base/init.d/pound