Please find attached two init scripts for /etc/rc.d/init.d:
- one for pound 1.xx
- one for pound 2.xx
They are almost equal.
As I have both versions installed on one machine I renamed the pound binary from “pound” to “pound2”.
I don’t know if you all and Robert prefer to keep the binary with the same name in the final 2.0 release.
Anyway, feel free to add this into the next release, if you agree and the way you prefer.
usage: ./pound2_lb (start|stop|wstop|kill|restart|help)
start – starts pound
stop – sends a SIGTERM signal (kill)
wstop – tries at least 5 times to kill it gently (SIGTERM) and then kills it using the SIGKILL signal
kill – kill its with SIGKILL
restart – restart J
help - syntax
Anything feel free to comment J