Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276271 - sci-misc/boinc init script should create pid file
Summary: sci-misc/boinc init script should create pid file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Tomáš Chvátal (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-07-02 17:59 UTC by Craig Andrews
Modified: 2009-07-08 09:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch against /etc/init.d/boinc that managed a pid file (boinc-pid.diff,820 bytes, patch)
2009-07-02 18:00 UTC, Craig Andrews
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Andrews gentoo-dev 2009-07-02 17:59:03 UTC
It's always nice when init scripts make pidfiles (ex /var/run/boinc.pid). Currently, /etc/init.d/boinc does not do this.

Reproducible: Always
Comment 1 Craig Andrews gentoo-dev 2009-07-02 18:00:44 UTC
Created attachment 196396 [details, diff]
patch against /etc/init.d/boinc that managed a pid file

This patch uses start-stop-daemon to create /var/run/boinc.pid when boinc starts, and deletes the pid file when boinc stops.
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2009-07-08 09:01:19 UTC
Good idea. Added into cvs :]