On Monday 02 October 2006 11:11 am, Ismael Luceno wrote:
> > Many people have already customized their init files to match their
> > needs, and changing the syntax would put them through a lot of ugly work.
> > The .i syntax is nearly perfect IMHO, it needs only some minor cosmetic
> > changes (e.g., "script start = { };" is used for services, but "script
> > daemon = { };" for daemons).
>
> The syntax should be simplified, I think.
This is where I disagree. For a considerable amount of time now, we have had
the same behaviour for starting and stopping services and daemons, and it is
purely in the interest of clarity, reflecting the difference between the two
(that is, that a service runs and (usually) terminates, but a daemon will
continue to run).
For a daemon:
start: exec daemon = command; or script daemon = { commands };
stop: exec kill = command; or script kill = { commands };
For a service:
start: exec start = command; or script start = { commands };
stop: exec stop = command; or script stop = { commands };
In my opinion there is absolutely nothing wrong with this approach, and
changing it would just be an exercise in futility when half of the .i files
have to be re-written.
--qupada
pgpNt3UaV4boC.pgp
Description: PGP signature
-- _______________________________________________ Initng mailing list [email protected] http://jw.dyndns.org/mailman/listinfo/initng
