Hi,

I figure it out, two solutions: either use the latest the version or
use "zkServer.sh print-cmd" to print out the whole command.

Detailed in 
http://stackoverflow.com/questions/11979741/supervise-zookeeper-with-supervisord

On Fri, Aug 17, 2012 at 9:37 AM, Ji Zhang <zhangj...@gmail.com> wrote:
> Hi,
>
> I search the internet, there's a solution like this:
>
> [program:zookeeper]
> command=zkServer.sh start-foreground
> autorestart=true
> stopsignal=KILL
>
> But supervisord cannot stop it, unless add the following configurations:
>
> [program:zookeeper]
> stopasgroup = true
> killasgroup = true
>
> Again, these two configurations are introduced in 3.0a13, but the
> current release is 3.0a12.
>
> I post it in StackOverflow but no solution is replied.
>
> Is there any workaround for this senario? Or I have to use the github
> master version?
>
> Thanks.
_______________________________________________
Supervisor-users mailing list
Supervisor-users@lists.supervisord.org
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to