diff options
author | Florian Smeets <flo@FreeBSD.org> | 2012-08-21 23:29:37 +0000 |
---|---|---|
committer | Florian Smeets <flo@FreeBSD.org> | 2012-08-21 23:29:37 +0000 |
commit | db14b9f38a9cc7de99fc52c04ada0a43a911b26d (patch) | |
tree | de547461edc29a7d9d85d29a32c992e11d16bd04 /net/asterisk16/files/asterisk.in | |
parent | Remove expired port: (diff) |
- Remove net/asterisk16, net/asterisk16-addons, japanese/asterisk16-sounds
- Update net/appkonference to 2.1 to make it work with net/asterisk [1]
- Switch www/bigbluebutton to net/asterisk
- While here fix typo in www/xxxterm's MOVED entry
PR: ports/169038 [1]
Approved by: maintainer [1]
Diffstat (limited to 'net/asterisk16/files/asterisk.in')
-rw-r--r-- | net/asterisk16/files/asterisk.in | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/net/asterisk16/files/asterisk.in b/net/asterisk16/files/asterisk.in deleted file mode 100644 index be2d32d87d6c..000000000000 --- a/net/asterisk16/files/asterisk.in +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: asterisk -# REQUIRE: LOGIN -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf to enable asterisk: -# -# asterisk_enable="YES" -# - -. /etc/rc.subr - -name=asterisk -rcvar=asterisk_enable - -extra_commands="reload" - -stop_cmd="asterisk_stop" -reload_cmd="asterisk_reload" - -command="%%PREFIX%%/sbin/asterisk" -command_args="-n -U %%ASTERISK_USER%%" -pidfile=${asterisk_pidfile:-"/var/run/asterisk.pid"} - -asterisk_stop() { - echo 'Stopping asterisk' - $command -nqrx 'core stop now' -} - -asterisk_reload() { - echo 'Reloading asterisk' - $command -nqrx 'reload' -} - -load_rc_config $name - -asterisk_enable=${asterisk_enable:-"NO"} - -run_rc_command "$1" |