Re: How to launch services that do not fork to background using the rc infrastructure?

2013-01-23 Thread Javier Martín Rueda
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

How to launch services that do not fork to background using the rc infrastructure?

2013-01-22 Thread Javier Martín Rueda
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

Re: How to launch services that do not fork to background using the rc infrastructure?

2013-01-22 Thread Grzegorz Blach
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 rcvar=SERVICE_enable command=/usr/local/sbin/PROGRAM pidfile=/var/run/${name}.pid SERVICE_enable=${SERVICE_enable:-NO}

Re: How to launch services that do not fork to background using the rc infrastructure?

2013-01-22 Thread Greg Larkin
-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 rcvar=SERVICE_enable

Re: How to launch services that do not fork to background using the rc infrastructure?

2013-01-22 Thread Mark Felder
Also look at the wrapper script used by net/socat. There are a few ports using that. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to