Hi Bernard, that script looks pretty much OK. I have duplicated it for gmetad and changed the tar-build to include both.
Now we need a spec-artist to do the right things in the RPMs. Cheers Martin --- Bernard Li <[EMAIL PROTECTED]> wrote: > The init file for SuSE _is_ available in CVS: > > http://cvs.sourceforge.net/viewcvs.py/ganglia/monitor-core/gmond/gmond.init.SuSE?view=markup > > However, I didn't have time to look into how it gets used (if at > all). > > I have been quite busy but this seems like an easy enough fix, so I > may take a stab at it. But if somebody knows how the SuSE specific > init script is supposed to be included in the tarball, please let me > know. > > Cheers, > > Bernard > > ________________________________ > > From: Jason A. Smith [mailto:[EMAIL PROTECTED] > Sent: Fri 24/02/2006 05:41 > To: Bernard Li > Cc: [EMAIL PROTECTED]; [email protected] > Subject: Re: [Ganglia-developers] SuSE init scripts [was First > prerelease of ganglia-3.0.3 readyfor testing] > > > > On Fri, 2006-02-24 at 03:28, Bernard Li wrote: > > Martin, others: > > > > It seems that the stock init.d scripts that ship with the Ganglia > RPMs > > do not work on SuSE since it depends on /etc/rc.d/init.d/functions. > I > > believe SuSE specific init scripts are available in the CVS > > repository. > > > > One way to fix this is to include these SuSE specific scripts in > the > > tarball and during rpmbuild use a flag to specify we are on SuSE > and > > include the correct scripts in the RPMs. > > > > Thoughts? > > Does SuSE support the Linux Standards Base Specification? One > possibility that might make the same ganglia init scripts work on any > distribution is to modify them to use /lib/lsb/init-functions > instead. > > ~Jason > > ________________________________________________________________________ > > > ------------------------------------------------------ Martin Knoblauch email: k n o b i AT knobisoft DOT de www: http://www.knobisoft.de
