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