Yes, that was the problem I was having in Jaunty, returning 4 instead of 3.
This makes heartbeat fail the monitor action.
I did have look at /lib/lsb/init-functions, but wasn't sure of the implications it would have
for other programs, so I referred to how status_of_proc was used (without the -p pidfile param)
in atd and acpid under /etc/init.d/ and applied it to nginx.
Andres,
Yes, that was the problem I was having in Jaunty, returning 4 instead of 3.
This makes heartbeat fail the monitor action.
I did have look at /lib/lsb/ init-functions, but wasn't sure of the implications it would have
for other programs, so I referred to how status_of_proc was used (without the -p pidfile param)
in atd and acpid under /etc/init.d/ and applied it to nginx.