Created attachment 901954 [details] Updated OpenRC script with support for using supervise-daemon. The boinc_client program itself needs no special handling to run correctly under a process supervision tool like the supervise-daemon program provided as part of OpenRC. Despite this, the current OpenRC init script for sci-misc/boinc hard-codes usage of start-stop-daemon and thus does not support running boinc_client like this without user modification of the init script. I’ve attached a modified copy of the existing OpenRC init script to this bug that includes the changes I’m currently using to run boinc_client under process supervision. They just require the user to set `supervisor="supervise-daemon"` in `/etc/conf.d/boinc`, and preserve existing behavior if that is not set. I’ve been using these modifications for roughly six weeks now without issues.
instead of checking for supervisor in start, we should move the ARGS logic to start_pre, and remove the start definition. openrc already ships a default start that selects the proper supervisor based on the flag.