Page MenuHomePhabricator

PHD init / lsb standard control mechanism
Open, WishlistPublic

Description

Right now phd is more human than machine friendly. Is it possible to get an init-phd wrapper that would be lsb compliant? I know packaging is a tertiary concern but (for us at least) being able to manage phd via normal service mechanism is invaluable.

http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

Example:

When we try to start a started phd service it return 1 where 0 is the standard

Event Timeline

chasemp raised the priority of this task from to Normal.
chasemp updated the task description. (Show Details)
chasemp added a project: Daemons.
chasemp added a subscriber: chasemp.

FWIW I hope whatever solution is built is not specific to Linux and the LSB but will work with other non-linux POSIX systems as well.

Do other non-linux POSIX systems expect different, incompatible behaviors?

to the best of my knowledge, no, but I will comment on the implementation if I see anything incompatible.

I was being generic in my comment above.

epriestley lowered the priority of this task from Normal to Wishlist.Feb 15 2019, 3:50 AM
epriestley moved this task from Backlog to Far Future on the Daemons board.