On 19 Dec 2013, at 4:03 am, Brusq, Jerome <jerome.br...@signalis.com> wrote:
> Dear all, > > I have a custom lsb script that launch a custom process. > > primitive myscript lsb:ha_swift \ > op start interval="0" timeout="30s" \ > op stop interval="0" timeout="30s" \ > op monitor interval="15s" on-fail="restart" \ > > When this one crashes, I have the feeling that pacemaker do : > “/etc/init.d/myscript stop” > Then, > “/etc/init.d/myscript start” > > Is there a way for pacemaker to do “/etc/init.d/myscript restart” (of course > my “restart” option is doing something a little bit different that a stop + > start in my script ….) No, sorry > > Thanks! > > Jerome > > > _______________________________________________ > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org