Date: Wed, 2 Feb 2005 20:00:41 GMT From: Vivek Khera <vivek@khera.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/77028: net/jabber startup script not executable Message-ID: <200502022000.j12K0f9g015929@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/77028; it has been noted by GNATS. From: Vivek Khera <vivek@khera.org> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502022000.j12K0f9g015929>