diff options
author | Lars Engels <lme@FreeBSD.org> | 2012-05-25 12:14:15 +0000 |
---|---|---|
committer | Lars Engels <lme@FreeBSD.org> | 2012-05-25 12:14:15 +0000 |
commit | 8f551d2f925cbb88b3e5f59fdfb61082ad3c5578 (patch) | |
tree | e73eb5f2517dea794ad0e0ef4579b638ee247a4f /net-mgmt | |
parent | Update 1.1.1 (diff) |
- Add my locally made changes to icinga.in and ido2db.in, so icinga and ido2db
can acutally start
- Bump PORTREVISION
Noticed by: Rene Petzold <3komma4khz@googlemail.com>
Notes
Notes:
svn path=/head/; revision=297400
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/icinga/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/icinga/files/icinga.in | 5 | ||||
-rw-r--r-- | net-mgmt/icinga/files/ido2db.in | 6 |
3 files changed, 12 insertions, 0 deletions
diff --git a/net-mgmt/icinga/Makefile b/net-mgmt/icinga/Makefile index 5c3523894970..f4629e85963d 100644 --- a/net-mgmt/icinga/Makefile +++ b/net-mgmt/icinga/Makefile @@ -7,6 +7,7 @@ PORTNAME= icinga PORTVERSION= 1.7.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 ba1b0ab767e1..a085ff3361fa 100644 --- a/net-mgmt/icinga/files/icinga.in +++ b/net-mgmt/icinga/files/icinga.in @@ -38,6 +38,7 @@ icinga_logfile="%%ICINGADIR%%/${name}.log" icinga_statusfile="%%ICINGADIR%%/status.sav" icinga_cmdfile="%%ICINGADIR%%/rw/${name}.cmd" +start_cmd="start_cmd" start_precmd="start_precmd" stop_postcmd="stop_postcmd" restart_precmd="icinga_checkconfig" @@ -108,4 +109,8 @@ stop_postcmd() { rm -f "%%ICINGADIR%%/icinga.tmp" "${icinga_cmdfile}" } +start_cmd() { + ${command} ${command_args} +} + run_rc_command "$1" diff --git a/net-mgmt/icinga/files/ido2db.in b/net-mgmt/icinga/files/ido2db.in index ea57976f5a12..def380a49cd4 100644 --- a/net-mgmt/icinga/files/ido2db.in +++ b/net-mgmt/icinga/files/ido2db.in @@ -25,7 +25,13 @@ load_rc_config "${name}" command="%%PREFIX%%/bin/${name}" command_args="-c" +start_cmd="start_cmd" + required_files="${ido2db_configfile}" command_args="${command_args} ${ido2db_configfile}" +start_cmd() { + ${command} ${command_args} +} + run_rc_command "$1" |