Hi, [email protected] wrote on Wed, Jan 28, 2015 at 10:25:50PM +0000:
> Wouldn't `daemon_enable=YES` (like FreeBSD's rc.conf) make more sense > for enabling daemons than `daemon_flags=""` in rc.conf.local? No, `daemon_flags=""` is better. When you do need flags, it needs only one variable instead of two, which means less complexity. Besides, having both cases (with and without flags) use the same syntax instead of two different syntaxes is simpler. Note that there *is* an ugly issue in the vicinity. Base daemons are enabled with "daemon_flags", package daemons are enabled with "pkg_scripts". But that asymmetry cannot be resolved because the startup order of package daemons must be specified, while the startup order of base daemons is hardcoded in rc(8) and cannot be changed. Your suggestion wouldn't help at all with that problem. > Most of my daemons don't have any flags so it looks a bit strange > (and messy) with all these empty flag specs. That's a matter of taste and purely aestetical without any functional consequences, so if it's an argument at all, it carries almost no weight. Yours, Ingo

