Commit graph

8 commits

Author SHA1 Message Date
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Stefan Walter
74b30afa5a Fix stopping the daemon via rc script by properly setting $pidfile and
$command_interpreter.

PR:		127444
Submitted by:	Tyler Aviss <a-freebsd@phormix.com>
Patch by:	stefan
2009-01-28 11:58:14 +00:00
Boris Samorodov
f5296d7d16 - fix startup for rc.subr; [1]
- update to 3.12;           [1]
- remove etc/rc.d/nagiosstatd from pkg-plist as USE_RC_SUBR deals itself
  with those files;
- remove etc/rc.d/nagios-statd.sh.sample from pkg-plist (forgotten by
  the submitter).

PR:		103913  [1]
Submitted by:	Jim Shewmaker <jims at bluenotch.com> (maintainer)  [1]
2006-10-02 19:35:42 +00:00
Pav Lucistnik
fe31eb5e25 - Update to 3.10
PR:		ports/65507
Submitted by:	Jim Shewmaker <jims@bluenotch.com> (maintainer)
2004-04-17 22:15:42 +00:00
Sergei Kolobov
1087a13739 Add nagios-statd 3.09, daemon/client to check remote host information.
Nagios-statd is an addon to the Nagios (formerly netsaint) program.
It is a Python daemon and scripts that plug-in to Nagios
and allow you to check remote host information
(such as load, users, filesystems, etc.)
Released under the BSD license.

Author:	Nick Reinking
WWW:	http://www.twoevils.org/html/files.php

PR:		59029
Submitted by:	Jim Shewmaker <jim@bluenotch.com>
2003-12-13 21:53:50 +00:00