Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2012 12:58:17 +0000 (UTC)
From:      Lars Engels <lme@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306178 - in head/net-mgmt/icinga: . files
Message-ID:  <201210201258.q9KCwH6x031425@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lme
Date: Sat Oct 20 12:58:17 2012
New Revision: 306178
URL: http://svn.freebsd.org/changeset/ports/306178

Log:
  - Add an alias to `checkconfig': `configtest'
    The former is what is used in the upstream init script, the latter is commonly used in
    our rc scripts.
  - Bump PORTREVISION
  
  Suggested by:	demon
  Feature safe:	yes

Modified:
  head/net-mgmt/icinga/Makefile
  head/net-mgmt/icinga/files/icinga.in

Modified: head/net-mgmt/icinga/Makefile
==============================================================================
--- head/net-mgmt/icinga/Makefile	Sat Oct 20 10:54:10 2012	(r306177)
+++ head/net-mgmt/icinga/Makefile	Sat Oct 20 12:58:17 2012	(r306178)
@@ -7,6 +7,7 @@
 
 PORTNAME=	icinga
 PORTVERSION=	1.8.0
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	SF
 

Modified: head/net-mgmt/icinga/files/icinga.in
==============================================================================
--- head/net-mgmt/icinga/files/icinga.in	Sat Oct 20 10:54:10 2012	(r306177)
+++ head/net-mgmt/icinga/files/icinga.in	Sat Oct 20 12:58:17 2012	(r306178)
@@ -29,7 +29,7 @@ load_rc_config "${name}"
 
 command="%%PREFIX%%/bin/icinga"
 command_args="-d"
-extra_commands="reload checkconfig"
+extra_commands="reload checkconfig configtest"
 pidfile="%%ICINGADIR%%/icinga.lock"
 icinga_user="%%ICINGAUSER%%"
 icinga_group="%%ICINGAGROUP%%"
@@ -40,6 +40,7 @@ icinga_cmdfile="%%ICINGADIR%%/rw/${name}
 
 start_cmd="start_cmd"
 checkconfig_cmd="icinga_checkconfig verbose"
+configtest_cmd="${checkconfig_cmd}"
 start_precmd="start_precmd"
 stop_postcmd="stop_postcmd"
 restart_precmd="icinga_checkconfig"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210201258.q9KCwH6x031425>