Re: init script, installed but not activated
On Wed, Oct 07, 2015 at 11:28:41AM +0300, Hleb Valoshka wrote:
> On 10/6/15, Antonio Terceiro <firstname.lastname@example.org> wrote:
> > for sysvinit you need to code that manually in the initscript. several
> > packages have their initscripts source /etc/default/$package, and check
> > for some variable that says whether the service should start on boot or
> > not.
> And that's exactly how it's done currently. But systemd fanboys want
> to remove any control variables from defaults and leave there only
> environment variables.
Please let's avoid blaming systemd for everything.
Having an ENABLE variable in /etc/default/$package is a bad idea
regardless of systemd, actually. Those variables make it impossible to
look at /etc/rc?.d/ and see what would be running on those runlevels.
Schrödinger's backup hypothesis: the condition of any backup is
undefined until a restore is attempted. -- andrewsh