For what it's worth, I concur with this solution. The lighty-enable-mod and -disable-mod helpers are an abstraction layer that certainly originated with Debian and may still be unique to Debian (et al). They came into being sometime in 2005-ish. While, as an abstraction, its purpose is to hide the underlying config file mechanics, I can't see the underlying mechanism changing any time soon if it hasn't in the last 16 years.

Upstream lighty has never adopted this abstraction, so I can't see it worth the trouble to expand on it now.

I think you've lighted (hah) upon the best solution here.

Reply via email to