[erlang-questions] stop supervisor when no children are running
David Sveningsson
ext@REDACTED
Mon May 4 12:08:50 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi, I'm using a supervisor to restart a gen_server if it crashes (using
transient restart rule). I would like to have the supervisor stop if the
the gen_server process is stopped normally. Even better would be if the
erlang process could be terminated (init:stop or similar).
Is there a way to do this?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkn+vrIACgkQ6pa1H/H5pqWEwACfUQ1zHVDkdxKbfWJ7kLKCeBxx
TMkAoIXKEOhV2+lpkANuo8CkuEeljrPj
=6zkR
-----END PGP SIGNATURE-----
More information about the erlang-questions
mailing list