Summary: |
sci-misc/boinc: Support running BOINC client under OpenRC process supervision with supervise-daemon |
Product: |
Gentoo Linux
|
Reporter: |
Austin S. Hemmelgarn <ahferroin7> |
Component: |
Current packages | Assignee: |
Gentoo Science Related Packages <sci> |
Status: |
UNCONFIRMED
---
|
|
|
Severity: |
normal
|
CC: |
navi, proxy-maint, sven.eden
|
Priority: |
Normal
|
|
|
Version: |
unspecified | |
|
Hardware: |
All | |
|
OS: |
Linux | |
|
Whiteboard: |
|
Package list:
|
|
Runtime testing required:
|
---
|
Attachments: |
Updated OpenRC script with support for using supervise-daemon.
|
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.