Dear Adrian,

John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> writes:

> So, OpenRC actually also relies on files - like System V Init - to
> track the state of a service? Isn't that approach somewhat unreliable
> and hacky?

I bet you are going to tell me the only reliable and non-hacky way to
track the state of a service is not forking/writing to files but
starting it foreground by a long-living daemon. I agree with you.

OpenRC leverages cgroups when available. We are also working on a plugin
framework for external supervisors such as djbtools, runit and s6 (maybe
launchd, smf, systemd, ... as well if they're hackable) to do this
foreground status tracking while integrated with OpenRC: We are not
there yet though.

These advanced features are optional. We can still use the unreliable
and hacky way of trakcing files when the task is trivial, like a
personal VPS or laptop which do not care much about running sshd/httpd
for 3 years non-stop.

Thanks for the insight.
Benda


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/86eh2w8ylo....@moguhome00.in.awa.tohoku.ac.jp

Reply via email to