LSB scripts do not accept any parameters. You have to convert to OCF. Since you already started changing it, you are half way done :-)
On Wed, Oct 6, 2010 at 2:36 PM, Craig Hurley <li...@thehurley.com> wrote: > Hello, > > Is it possible to provide a custom path to a lsb compliant script in a > primitive? To get it working I copied my script to /etc/init.d/rp and > I'm using the following config: > > primitive p_rp lsb:rp \ > op monitor interval="30s" \ > meta target-role="Started" > > ... but I'd like to leave the startup script in it's default install > path of /opt/x/y/x/rp and modify the config so point at that default > path. > > Is this possible? > Is this documented somewhere? > > Thanks, > Craig. > > _______________________________________________ > 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker > -- Serge Dubrouski. _______________________________________________ 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker