#!/bin/sh # PROVIDE: xmpppyirc # REQUIRE: DAEMON . /etc/rc.subr name="xmpppyirc" pidfile="/var/run/$name.pid" command="/usr/local/lib/python2.3/site-packages/xmpp/irc/irc.py" command_args="&" command_interpreter="/usr/local/bin/python2.3" required_files="/usr/local/etc/$name.conf" start_precmd="touch $pidfile && export PID=$pidfile" load_rc_config $name : ${xmpppyirc_enable="NO"} run_rc_command "$1"