Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jun 2005 01:05:08 +0200
From:      "Conrad Burger" <conrad.burger@swistgroup.com>
To:        <freebsd-ports@freebsd.org>
Subject:   Port net/jabber-pymsn  -- incorrect rc.d startup file
Message-ID:  <88B5DDE8C1A06741B754B910DE2DEFBB49A970@HERMES.swistgroup.com>

next in thread | raw e-mail | index | archive | help
************************************************************
Click here to view our e-mail legal notice: 
http://www.swistgroup.com/email.htm or call: +27 21 888 7920
************************************************************
Hi=20

I might be wrong, but I might be right.=20

Looking at the net/jabber-pymsn port's startup file
/usr/local/etc/rc.d/jabber-pymsn-transport.sh.=20

The file indicates that the variable jabber_pymsn_piddir can be added to =
the
rc.conf to point to the pid.

But the script order makes this impossible to work.
Ok ... I'm to tried to go into details.

So could someone please update the port so that=20

load_rc_config $name executes before setting the pidfile variable.

Eg.


. /usr/local/etc/rc.subr

name=3D"jabber_pymsn"
rcvar=3D`set_rcvar`
command_interpreter=3D"/usr/local/bin/python2.4"
command=3D"${jabber_pymsn_dir}/main.py"
command_args=3D"&"

load_rc_config $name   <-------- moved to here=20

#procname=3D"${PYTHON} ${jabber_pymsn_dir}/main.py"
pidfile=3D"${jabber_pymsn_piddir}/pymsn.pid"

------------> was here=20

run_rc_command "$1"=20


Cheers=20
Conrad Burger=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?88B5DDE8C1A06741B754B910DE2DEFBB49A970>