Date: Mon, 1 May 2006 17:32:59 GMT From: Christopher Sean Hilton <chris@vindaloo.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/96611: ports: net-im/mu-conference port is missing startup file Message-ID: <200605011732.k41HWxwn093091@www.freebsd.org> Resent-Message-ID: <200605011740.k41HeF18057582@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 96611 >Category: ports >Synopsis: ports: net-im/mu-conference port is missing startup file >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 01 17:40:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Christopher Sean Hilton >Release: 5.4 Stable >Organization: >Environment: N/A >Description: The net-im/mu-conference port doesn't have a startup script. I cloned one from another project and here it goes: #!/bin/sh # Start or stop jabber's mu-conference # $FreeBSD$ # PROVIDE: mu_conference # REQUIRE: DAEMON jabberd # BEFORE: LOGIN # KEYWORD: FreeBSD shutdown # # Define these mu_conference_* variables in one of these files: # /etc/rc.conf # /etc/rc.conf.local # # DO NOT CHANGE THESE DEFAULT VALUES HERE # mu_conference_config=${mu_conference_config:-"/usr/local/etc/muc.xml"} mu_conference_enable=${mu_conference_enable:-"NO"} mu_conference_user=${mu_conference_user:-"jabber"} . /etc/rc.subr name="mu_conference" rcvar=`set_rcvar` command="/usr/local/bin/mu-conference" command_args="-c $mu_conference_config -B" pidfile="/var/jabberd/pid/mu-conference.pid" start_cmd="mu_conference_start" stop_postcmd="mu_conference_stop_post" mu_conference_start() { echo "${command} ${command_args}" | su -m $mu_conference_user > /dev/null 2>&1 } mu_conference_stop_post () { rm -f ${pidfile} } load_rc_config $name run_rc_command "$1" >How-To-Repeat: Install the port >Fix: startup script included in problem report. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605011732.k41HWxwn093091>