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

Re: starting/stopping daemons in package scripts



On Sun, 19 Sep 1999, Marcus Brinkmann wrote:

> 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).

s/reload in the postinst/restart in the postinst/

1. 'reload' is not a mandatory option for /etc/init.d/* scripts. The only
   options that must be supported by all /etc/init.d/* scripts are
   'start', 'stop', 'force-reload' and 'restart'.
2. 'reload', if supported, leaves the _old_ version of the daemon running.

Remco
-- 
rd1936:  7:30pm  up 9 days, 20:46,  7 users,  load average: 1.37, 1.31, 1.33


Reply to: