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

Re: dpkg-reconfigure calls init.d scripts with start



Dennis Schoen wrote:
> > Since policy does not currently specify what return code an init script
> > should return if "start" is run and the daemon is already running, a simple
> > fix would be to detect the daemon is running, and just exit with a warning.
> 
> Yes but that way, the changes made in the reconfigure will not take
> effect until i do an restart of the daemon by hand. Thats ugly.

Well the config script will be called with a first argument of
"reconfigure" if the package is reconfigured. I suppose you could use
that to stop the daemon there or something.

-- 
see shy jo



Reply to: