tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rc.subr: Passing extra arguments to run_rc_command

On Sat, Mar 13, 2010 at 8:56 PM, David Holland 
<> wrote:
> On Sat, Mar 13, 2010 at 09:41:13AM +0000, Julio Merino wrote:
>  > In the rc.d script for monotone, I defined a custom command called
>  > 'genkey' that initializes a private key pair for the server, and
>  > another command called 'read' that takes a file and passes it to
>  > monotone.
> I guess my first question would be whether these really need to be
> rc.d operations...

To me, it makes perfect sense to keep all the server-management logic
into the rc.d script.  This is no different than the sshd script
generating server keys the first time it is run, except that the set
up process is done explicitly to have some control over it.

Julio Merino

Home | Main Index | Thread Index | Old Index