diff options
author | jnemeth <jnemeth@pkgsrc.org> | 2010-11-29 04:20:32 +0000 |
---|---|---|
committer | jnemeth <jnemeth@pkgsrc.org> | 2010-11-29 04:20:32 +0000 |
commit | d9bb9c1182de0c13da67219eba47e5d6da29e814 (patch) | |
tree | 87f7725d4db0da9344db2a0e70103ea0007430a0 /comms | |
parent | c521f5560c9fb9bc9d542b5ea929a57a9779456e (diff) | |
download | pkgsrc-d9bb9c1182de0c13da67219eba47e5d6da29e814.tar.gz |
The stop and reload commands require the core prefix now.
Diffstat (limited to 'comms')
-rw-r--r-- | comms/asterisk16/Makefile | 3 | ||||
-rw-r--r-- | comms/asterisk16/files/asterisk.sh | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/comms/asterisk16/Makefile b/comms/asterisk16/Makefile index 2340cbaa780..6e6d8d5fc66 100644 --- a/comms/asterisk16/Makefile +++ b/comms/asterisk16/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2010/11/15 05:18:16 jnemeth Exp $ +# $NetBSD: Makefile,v 1.26 2010/11/29 04:20:32 jnemeth Exp $ # DISTNAME= asterisk-1.6.2.14 @@ -9,6 +9,7 @@ CATEGORIES= comms net audio MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \ http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ \ http://downloads.asterisk.org/pub/telephony/sounds/releases/ +PKGREVISION= 1 OWNER= jnemeth@NetBSD.org HOMEPAGE= http://www.asterisk.org/ diff --git a/comms/asterisk16/files/asterisk.sh b/comms/asterisk16/files/asterisk.sh index b91bd49d1b0..9f5b745d535 100644 --- a/comms/asterisk16/files/asterisk.sh +++ b/comms/asterisk16/files/asterisk.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: asterisk.sh,v 1.4 2010/11/10 09:29:13 jnemeth Exp $ +# $NetBSD: asterisk.sh,v 1.5 2010/11/29 04:20:33 jnemeth Exp $ # # PROVIDE: asterisk # REQUIRE: DAEMON @@ -35,8 +35,8 @@ asterisk_prestart() { chmod 0755 @ASTVARRUNDIR@ } -stop_cmd="$command -nr -x 'stop gracefully' >/dev/null" -reload_cmd="$command -nr -x 'reload' >/dev/null" +stop_cmd="$command -nr -x 'core stop gracefully' >/dev/null" +reload_cmd="$command -nr -x 'core reload' >/dev/null" asterisk_nice="-20" load_rc_config $name |