another change...
In monitrc, if you leave this line,
# ISPCP_DAEMON
check process ispcp_daemon with pidfile /var/run/ispcp-daemon.pid
group services
start program = "/etc/init.d/ispcp_daemon start"
stop program = "/etc/init.d/ispcp_daemon stop"
if failed port 9876 then restart
if 5 restarts within 5 cycles then timeout
in
/var/log/daemon you will receive every minute something like this, so I've commented it in the first post.
Code:
Jun 21 12:43:12 test_ispcp ispcp_daemon[23642]: child 23642 started !
Jun 21 12:43:12 test_ispcp ispcp_daemon[23642]: Aeee! SIG_PIPE was received ! Will we survive ?
Jun 21 12:43:12 test_ispcp ispcp_daemon[23642]: send_line(): socket write error: Broken pipe
Jun 21 12:43:12 test_ispcp ispcp_daemon[23642]: read_line(): socket EOF ! other end closed the connection !
Jun 21 12:44:14 test_ispcp ispcp_daemon[23733]: child 23733 started !
Jun 21 12:44:14 test_ispcp ispcp_daemon[23733]: Aeee! SIG_PIPE was received ! Will we survive ?
Jun 21 12:44:14 test_ispcp ispcp_daemon[23733]: send_line(): socket write error: Broken pipe
Jun 21 12:44:14 test_ispcp ispcp_daemon[23733]: read_line(): socket EOF ! other end closed the connection !
Jun 21 12:45:16 test_ispcp ispcp_daemon[24168]: child 24168 started !
Jun 21 12:45:16 test_ispcp ispcp_daemon[24168]: Aeee! SIG_PIPE was received ! Will we survive ?
Jun 21 12:45:16 test_ispcp ispcp_daemon[24168]: send_line(): socket write error: Broken pipe
Jun 21 12:45:16 test_ispcp ispcp_daemon[24168]: read_line(): socket EOF ! other end closed the connection !