Remix.run Logo
simoncion an hour ago

> Curious how you're handling supervision after the switch.

In the service file, you put this

  supervisor=supervise-daemon
and either ensure the program you're running as a service doesn't daemonize, or make use of 'command_args_background=' and 'command_args_foreground=' if you want to be able to swap between supervised and unsupervised use.

> That dependency ordering [is on you to manually manage]...

Nope. OpenRC has had dependency ordering for the quarter-century I've been using it. [0] It's a core feature, so it's probably had it for forever.

> ...and the cgroup resource accounting are the real work, and OpenRC hands both back to you.

Nope. [1][2]

[0] <https://github.com/OpenRC/openrc/blob/29f620c16036586c39ec17...>

[1] <https://github.com/OpenRC/openrc/blob/29f620c16036586c39ec17...>

[2] <https://github.com/OpenRC/openrc/blob/29f620c16036586c39ec17...>