Hi,
I hacked the riak running script and let it export a pid file when I
run 'riak start'
then I use the following conf
"
[program:riak]
command=pidproxy /var/run/riak.pid riak start
autostart=true
autorestart=true
stdout_logfile= supervisord.log
redirect_stderr=true
"
it seems the pidproxy doesn't help, supervisord still trying start
riak as many time as it could and then reports "fetal error"


I tried to google it, the only thing i found is about monit
"
I'm no expert, but what I use is something like this:

check process riak matching "/path/to/riak/erts-5.7.5/bin/beam"
group riak
start program = "/path/to/riak/bin/riak start"
if failed host localhost port 8098
protocol HTTP request "/" then alert
"
no idea how to apply this to supervisor


Please help, thanks
-- 
weasky
Enjoy everyday life!
_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to