rpms/heartbeat/devel heartbeat.spec,1.13,1.14

Aurelien Bompard gauret at free.fr
Fri Feb 9 14:27:13 UTC 2007


Joost Soeterbroek (jsoeterb) wrote:
> Author: jsoeterb
> 
> Update of /cvs/extras/rpms/heartbeat/devel
> In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19976
> 
> Modified Files:
> heartbeat.spec
> Log Message:
> * Fri Feb  9 2007 Joost Soeterbroek
> <joost.soeterbroek at gmail.com> - 2.0.8-2 -
> change condrestart -> restart (bz #223949)

Careful, "service heartbeat restart" will *start* the heartbeat service if
it wasn't running previously. Condrestart is supposed to check if the
service is running and only restart it in this case.
If the init script does not support condrestart, you have two options :
 - patch it to support it, and send your patch upstream (preferred)
 - inside the scriptlet, check if heartbeat is running and restart heartbeat
only in this case. You could use service heartbeat status to do that.


Aurélien
-- 
http://aurelien.bompard.org  ~~~~  Jabber : abompard at jabber.fr
"As we enjoy great advantages from inventions of others, we should be
glad of an opportunity to serve others by any invention of ours ; and
this we should do freely and generously." -- Benjamin Franklin





More information about the fedora-extras-list mailing list