1 |
All, |
2 |
|
3 |
there is a branch in the OpenRC github repo called supervisor. |
4 |
|
5 |
On that branch, I am working on a lightweight daemon supervisor that |
6 |
will be native to OpenRC. |
7 |
|
8 |
It is based on start-stop-daemon, but it will stay around and make sure |
9 |
that the daemon gets restarted if it dies. |
10 |
|
11 |
It is still very rough, and not ready for production, but at this point |
12 |
I would like to make everyone aware that it exists and ask folks to go |
13 |
over the code and provide comments. |
14 |
|
15 |
It can currently launch a daemon, and I still am working on making it |
16 |
restart a daemon if it dies. |
17 |
|
18 |
This will only work for non-forking daemons; the daemon should not fork |
19 |
and should not write a pid file. |
20 |
|
21 |
One of the big questions I have is about PAM usage. Do I still need to |
22 |
do that in this supervisor? If I open a PAM session, does it carry |
23 |
across forks? |
24 |
|
25 |
Thanks, |
26 |
|
27 |
William |