Hi Joel,

Joel Rees wrote on Sat, Jan 31, 2015 at 03:16:02PM +0900:

> What I'm thinking of is a tool that would allow one to query
> whether a daemon is installed,

pkg_info(1)

and

ls /etc/rc.d/

> and, for installed daemons, to query what the
> basic commands for status, start, and stop, are?

The same for all of them, see rc.d(8).

> I'm also thinking of a roll-register (or similar name) to call from
> the initialization scripts of daemons I want to be in the roll-call.
> The roll-register call's parameters could specify the daemon name and
> the commands that the rollcall tool would look up.
> 
> I've been thinking of building such a tool, but don't want to dig in
> and find I'm duplicating effort. (Not that it should be a hard tool to
> build.)

I don't understand all you are saying here, but i suspect you would
be duplicating rcctl(8).

Yours,
  Ingo

Reply via email to