diff options
author | lme <lme@FreeBSD.org> | 2012-10-20 20:58:17 +0800 |
---|---|---|
committer | lme <lme@FreeBSD.org> | 2012-10-20 20:58:17 +0800 |
commit | 77295d0607db6310047d292f625459dfb8c0fcbe (patch) | |
tree | 54033a81eb6b45f34eb10dafb7b127feb535af90 /net-mgmt | |
parent | 8a52918f30466ee484ca41188d0b69d1cb495167 (diff) | |
download | freebsd-ports-graphics-77295d0607db6310047d292f625459dfb8c0fcbe.tar.gz freebsd-ports-graphics-77295d0607db6310047d292f625459dfb8c0fcbe.tar.zst freebsd-ports-graphics-77295d0607db6310047d292f625459dfb8c0fcbe.zip |
- 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
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/icinga/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/icinga/files/icinga.in | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/net-mgmt/icinga/Makefile b/net-mgmt/icinga/Makefile index e31223c51bd..3796428d3aa 100644 --- a/net-mgmt/icinga/Makefile +++ b/net-mgmt/icinga/Makefile @@ -7,6 +7,7 @@ PORTNAME= icinga PORTVERSION= 1.8.0 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= SF diff --git a/net-mgmt/icinga/files/icinga.in b/net-mgmt/icinga/files/icinga.in index 093f73d7fdc..87d2e6ab2c6 100644 --- a/net-mgmt/icinga/files/icinga.in +++ b/net-mgmt/icinga/files/icinga.in @@ -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" |