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

Re: sarge apt and init daemons



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Clymer wrote:
> 
> The debian post install script probably doest go through the rc.*
> directories looking for runlevel entries since these are all just
> symlinks to a script in /etc/init.d/. All that it probably checks for is
> that the /etc/init.d/<whatever> script exists and is executable. Then,
> on the assumption that its generally a good idea to stop and start
> daemons when upgrading them, it does so. 

I just think it would be a good idea to not start something that's not
running anyway. Check to see if the proc is running and if it is, restart.

> 
> If you want to keep updates from starting the daemon, just chmod 644 it.

That sounds reasonable...and simple. :) thanks.

- --

/phil


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFCc5omGbd/rBLcaFwRAjYhAKC4si3NdaEzvL5k9XM0osY4h7Y4iwCg2BCs
OfysU2/HhoufDuFJyDDRxrc=
=hT0q
-----END PGP SIGNATURE-----



Reply to: