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

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



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



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