| ▲ | valentynkit an hour ago | |
Curious how you're handling supervision after the switch. The remoteproc unit you converted by hand is the part that gets interesting: when it crashes, what restarts it, and what guarantees it came up only after its dependencies were actually ready rather than just launched? That dependency ordering and the cgroup resource accounting are the real work, and OpenRC hands both back to you. | ||
| ▲ | simoncion an hour ago | parent [-] | |
> Curious how you're handling supervision after the switch. In the service file, you put this
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...> | ||