pound: move initscript to src/initscripts/packages and use new macro

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
This commit is contained in:
Jonatan Schlag
2017-02-24 19:12:22 +01:00
parent dc9baa5496
commit 74eaa64e4b
2 changed files with 4 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
#!/bin/sh
########################################################################
# Begin $rc_base/init.d/pound
#
# Description : pound reverse-proxy
#
########################################################################
. /etc/sysconfig/rc
. ${rc_functions}
case "${1}" in
start)
boot_mesg "Starting pound reverse-proxy..."
loadproc /usr/sbin/pound
;;
stop)
boot_mesg "Stopping pound reverse-proxy..."
killproc /usr/sbin/pound
;;
restart)
${0} stop
sleep 1
${0} start
;;
status)
statusproc /usr/sbin/pound
;;
*)
echo "Usage: ${0} {start|stop|restart|status}"
exit 1
;;
esac
# End $rc_base/init.d/pound