From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 2 20:00:48 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24A7E16A4D2 for ; Wed, 2 Feb 2005 20:00:47 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDAE343D68 for ; Wed, 2 Feb 2005 20:00:46 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j12K0frg015930 for ; Wed, 2 Feb 2005 20:00:41 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j12K0f9g015929; Wed, 2 Feb 2005 20:00:41 GMT (envelope-from gnats) Date: Wed, 2 Feb 2005 20:00:41 GMT Message-Id: <200502022000.j12K0f9g015929@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Vivek Khera Subject: Re: ports/77028: net/jabber startup script not executable X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Vivek Khera List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2005 20:00:48 -0000 The following reply was made to PR ports/77028; it has been noted by GNATS. From: Vivek Khera To: freebsd-ports-bugs@FreeBSD.org, FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/77028: net/jabber startup script not executable Date: Wed, 2 Feb 2005 14:51:08 -0500 One more idea: rc-ng the jabber startup script... #!/bin/sh # # PROVIDE: jabber # REQUIRE: LOGIN # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf to enable rsyncd: # #jabber_enable="YES" # . /usr/local/etc/rc.subr name=jabber rcvar=`set_rcvar` command=/usr/local/sbin/jabberd required_files=/usr/local/etc/${name}.xml HOSTNAME=`/bin/hostname` # set defaults jabber_enable=${jabber_enable:-"NO"} jabber_pidfile=${jabber_pidfile:-"/var/spool/jabber/${name}.pid"} jabber_flags=${jabber_flags:-"-B -h ${HOSTNAME} -c ${required_files}"} jabber_user=${jabber_user:-"jabber"} jabber_group=${jabber_group:-"jabber"} pidfile=${jabber_pidfile} load_rc_config ${name} run_rc_command "$1"