Re: rpm scripts for daemons, advice please

Axel Thimm <[email protected]> Mon, 19 Jul 2004 23:30:04 +0200
Newsgroups gmane.linux.redhat.rpm.atrpms.repo-coordination
Message-ID <[email protected]>
On Mon, Jul 19, 2004 at 10:15:39AM -0700, Florin Andrei wrote:
> On Mon, 2004-07-19 at 01:54, Axel Thimm wrote:
> 
> > Second to that an /etc/init.d/daemon condrestart (or similar) in %post
> > seems good enough. :)
> 
> Call me obsessive-compulsive :-) but i _always_ stop the service
> manually before an upgrade, regardless of what the package does.

I tend to agree. Of course we hope that package upgrades already do
the right thing w/o us having to manually intervene. It probably pays
off to be safe than sorry :)

> > This essay is very illuminating:
> > 
> > http://www-106.ibm.com/developerworks/linux/library/l-rpm3.html
> 
> Nice! Is there a part 4?

Unfortunately not (I think). That's a bit unfortunate, as these essays
were really well written.

> BTW, the link to part 1 is wrong. The correct one is:
> 
> http://www-106.ibm.com/developerworks/library/l-rpm1/
> 
> I notified the author.

Then ask him for writing part 4, too :)
-- 
Axel.Thimm at ATrpms.net

_______________________________________________
repo-coord mailing list
[email protected]
http://lists.atrpms.net/mailman/listinfo/repo-coord
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA/D1cQBVS1GOamfERAssBAKCLmgeMxFv+eBWKejxYSZF5GbFqOQCgjnqr
sL1DgmLINg4p5XrNS2ajHDA=
=tK+n
-----END PGP SIGNATURE-----