diff options
Diffstat (limited to 'comms')
-rw-r--r-- | comms/asterisk/files/asterisk.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/comms/asterisk/files/asterisk.sh b/comms/asterisk/files/asterisk.sh index 2868810eb7e..71130999f35 100644 --- a/comms/asterisk/files/asterisk.sh +++ b/comms/asterisk/files/asterisk.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: asterisk.sh,v 1.1.1.1 2005/04/08 03:10:52 riz Exp $ +# $NetBSD: asterisk.sh,v 1.2 2006/11/01 18:59:16 mjl Exp $ # # PROVIDE: asterisk # REQUIRE: DAEMON @@ -21,8 +21,9 @@ command="@PREFIX@/sbin/asterisk" required_files="@PKG_SYSCONFDIR@/asterisk.conf" #start_cmd="asterisk_doit start" -#stop_cmd="asterisk_doit stop" #restart_cmd="asterisk_doit restart" +stop_cmd="sudo asterisk -r -x 'stop gracefully' >/dev/null" +asterisk_nice="-20" load_rc_config $name run_rc_command "$1" |