Date: Tue, 05 Apr 2005 10:41:56 +0200 From: =?ISO-8859-1?Q?Mads_S=FClau_J=F8rgensen?= <mads@sulau.dk> To: paul@nerdlabs.com Cc: ports@FreeBSD.org Subject: FreeBSD Port: nrpe2-2.0 Message-ID: <42524F54.4020901@sulau.dk>
next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig75E08A7ACE9B49B21056CF37 Content-Type: multipart/mixed; boundary="------------050609060504060902010809" This is a multi-part message in MIME format. --------------050609060504060902010809 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Hi. The startup script in your nrpe2 port is not working (the binary in=20 nrpe2 is not called nrpe) :) I've attached a startup script you can use, it's crafted in the "new"=20 way, using /usr/local/etc/rc.subr to do all the dirty work. --=20 Mads S=FClau J=F8rgensen "All glory to the hypno toad!" --------------050609060504060902010809 Content-Type: text/plain; name="nrpe2.sh.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="nrpe2.sh.txt" #!/bin/sh # # PROVIDE: nrpe2 # REQUIRE: NETWORKING SERVERS # BEFORE: DAEMON # KEYWORD: FreeBSD # # Add the following lines to /etc/rc.conf to enable nrpe2: # nrpe2_enable (bool): Set to "NO" by default. # Set it to "YES" to enable nrpe2 # . /usr/local/etc/rc.subr name="nrpe2" rcvar=`set_rcvar` [ -z "$nrpe2_enable" ] && nrpe2_enable="NO" [ -z "$nrpe2_config" ] && nrpe2_config="/usr/local/etc/nrpe.cfg" command="/usr/local/sbin/nrpe2" flags="-c ${nrpe2_config} -d" load_rc_config $name run_rc_command "$1" --------------050609060504060902010809-- --------------enig75E08A7ACE9B49B21056CF37 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) Comment: GnuPT 2.5.8.1 by EQUIPMENTE.DE Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCUk9WtrrAfYfgMeERArbWAJ9vzTFT6wSpm2wnyXwliM4gx9FZ6wCgx5hP La2d/rTiFtvuUQJi4P+2zLw= =0nd+ -----END PGP SIGNATURE----- --------------enig75E08A7ACE9B49B21056CF37--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42524F54.4020901>