1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- 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
This commit is contained in:
Lars Engels 2012-10-20 12:58:17 +00:00
parent 22bd1e9b12
commit c48568fe53
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306178
2 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= icinga
PORTVERSION= 1.8.0
PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= SF

View File

@ -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}.cmd"
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"