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

starting/stopping daemons in package scripts



Hello,

it looks as if we don't have good guidelines what to do about running
daemons when installing packages, or I missed them when glancing at the
policy and packaging manual.

I think it should be specified in the packaging manual when daemons should
be stopped, started, restarted, reloaded etc.

For example, by using reload in the postinst, the downtime of services can
probably be minimized at an upgrade (instead using stop in the prerm and
start in the postinst).

Of course, some daemons shall require exceptions to the general rule, but it
would still have advantages to specify the common case.

If someone is interested in working on this, I shall help. Especially I
would make sure that the same guidelines apply to the Hurd translators,
which are in some ways comparable to daemons (although invoked differently).

Comments are welcome,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org  Check Key server 
Marcus Brinkmann              GNU    http://www.gnu.org    for public PGP Key 
Marcus.Brinkmann@ruhr-uni-bochum.de                        PGP Key ID 36E7CD09
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/


Reply to: