Bug 79574 - The init script for foldingathome could give a better status message
Bug#: 79574 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: lostlogic@gentoo.org Reported By: yosefm@gmail.com
Component: Applications
URL: 
Summary: The init script for foldingathome could give a better status message
Keywords:  
Status Whiteboard: 
Opened: 2005-01-26 07:03 0000
Description:   Opened: 2005-01-26 07:03 0000
foldingathome provides for status information built in, kept in the file
'unitinfo.txt'. That information could be used to give a status message for the
foldingathome service.

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Yosef Meller 2005-01-26 07:05:26 0000 -------
Created an attachment (id=49560) [details]
Adds a status() function to the init-script to perform requested feature

The patch is against the init-script from foldingathome-4.0.0

------- Comment #2 From Brandon Low (RETIRED) 2005-02-03 09:55:09 0000 -------
I will add this to 5.0.2-r2 later today.

------- Comment #3 From Brandon Low (RETIRED) 2005-02-03 09:59:10 0000 -------
I lied, this will not be done, because status in gentoo is just started or
stopped.

------- Comment #4 From Yosef Meller 2005-02-04 12:14:00 0000 -------
Created an attachment (id=50374) [details]
A patch that is OK with the initscript policies

I've changed this to give the status message via a new option. Now run
/etc/init.d/foldingathome unitinfo.

------- Comment #5 From Brandon Low (RETIRED) 2005-02-04 12:22:14 0000 -------
Hmm, sounds pretty good, I'll double check on this, make it handle multiple
clients (as we have supported in 5.0.2) and add it.

------- Comment #6 From Brandon Low (RETIRED) 2005-02-04 12:54:42 0000 -------
Fixed in CVS.  Thanks, I enhanced the patch a bit, but I think you'll like it. 
foldingathome-5.0.2-r2 added, I will try to push it to stable soon.