public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] rfc: supervise-daemon -- a lightweight openrc daemon supervisor
@ 2016-02-16 18:51 William Hubbs
  2016-02-16 19:32 ` James Le Cuirot
  0 siblings, 1 reply; 7+ messages in thread
From: William Hubbs @ 2016-02-16 18:51 UTC (permalink / raw
  To: gentoo development

[-- Attachment #1: Type: text/plain, Size: 840 bytes --]

All,

there is a branch in the OpenRC github repo called supervisor.

On that branch, I am working on a lightweight daemon supervisor that
will be native to OpenRC.

It is based on start-stop-daemon, but it will stay around and make sure
that the daemon gets restarted if it dies.

It is still very rough, and not ready for production, but at this point
I would like to make everyone aware that it exists and  ask folks to go
over the code and provide comments.

It can currently launch a daemon, and I still am working on making it
restart a daemon if it dies.

This will only work for non-forking daemons; the daemon should not fork
and should not write a pid file.

One of the big questions I have is about PAM usage. Do I still need to
do that in this supervisor? If I open a PAM session, does it carry
across forks?

Thanks,

William


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-02-17 10:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-16 18:51 [gentoo-dev] rfc: supervise-daemon -- a lightweight openrc daemon supervisor William Hubbs
2016-02-16 19:32 ` James Le Cuirot
2016-02-16 22:04   ` William Hubbs
2016-02-16 22:19     ` James Le Cuirot
2016-02-17  3:49       ` [gentoo-dev] " Duncan
2016-02-17  6:30         ` Daniel Campbell
2016-02-17 10:37           ` Duncan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox