On 22/01/13 16:36, Greg Larkin wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 1/22/13 10:29 AM, Grzegorz Blach wrote:
On 01/22/2013 04:19 PM, Javier Mart■n Rueda wrote:
The typical and simple rc.d script to launch a service has,
esentially, the following:
. /etc/rc.subr
name=SERVICE
The typical and simple rc.d script to launch a service has, esentially,
the following:
. /etc/rc.subr
name=SERVICE
rcvar=SERVICE_enable
command="/usr/local/sbin/PROGRAM"
pidfile=/var/run/${name}.pid
SERVICE_enable=${SERVICE_enable:-"NO"}
load_rc_config ${name}
run_rc_command "$1"
One of the