Hi,
Marc Weber <[EMAIL PROTECTED]> writes:
> So what input does one service file need?
> At least
> { thisConfig # configuration for this service
> , allConfigurations # all configuration in case you need information
> # about other services as well (apache or whatsoever)
>
> , allPackages
> , lib
> } : {
> doc = # the optionlist
> service = # the service implementation generating the upstart files
> etc
> }
>
> Then you can just copy the file, adjust and role on.
> Do you like this?
Personally, I can live with the current scheme. One one hand, it's
handy to have all options in one place, in `options.nix': it allows you
to look at all the available options without having to browse Upstart
scripts.
OTOH, the proposed scheme surely helps see everything pertaining to a
given service at once.
Thanks,
Ludovic.
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev