Re: Proposal: multi-instance and self-contained rc.d script

2013-07-01 Thread Alex Dupre
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hiroki Sato ha scritto: > 1. Multi-instance support > > In the implementation, load_rc_config() reads variables for all > instances and run_rc_command() runs each instance in order. When > doing "rc.d/foo stop", run_rc_command() stops the instances

Re: Proposal: multi-instance and self-contained rc.d script

2013-06-30 Thread Lev Serebryakov
Hello, Hiroki. You wrote 1 июля 2013 г., 1:29:53: HS> The attached patch allows the following: HS> named_enable="YES" HS> named_instances="cache1 cache2" HS> named_conf="/etc/namedb/named.conf" HS> named_cache1_enable="YES" HS> named_cache1_conf="/etc/namedb/named_cache1.conf" HS> na

Proposal: multi-instance and self-contained rc.d script

2013-06-30 Thread Hiroki Sato
Hi, I am working on rc.d script improvements in terms of the following two points. A prototype is attached. This still includes some rough edges but should be enough to understand the concepts. I would like your comments about them. (This is posted to -current@ and -rc@, but please reply