[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: should a service/daemon get automatically started on first installation? (was: Re: How to inform users package is ready to use systemd)



On Mon, 24 Feb 2025 13:24:29 +0100
Joost van Baal-Ilić <joostvb-debian@mdcc.cx> wrote:

> I remember lots of discussion about the question: "should a
> service/daemon get automatically started on first installation?"
> I've just searched in Debian Policy but could not find an answer.  It
> this issue still delegated to the package maintainer?  (And then the
> local admin might express preference via some mechanism, iirc...)

simplifying, dh addons for services (dh_installsystemd,
dh_intallinit ...) enforce a default which seems to be:
unmask + enable + start at package installation; the maintainer can
override defaults; the user can then override wrt mask/unmask +
enable/disable

Lorenzo

> 
> Bye,
> 
> Joost
> 


Reply to: