Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2011 13:00:21 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        rnejdl@ringofsaturn.com
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: AW: rc.d script for running multiple VirtualBox VMs from /etc/rc.conf
Message-ID:  <4DA4AF55.10603@FreeBSD.org>
In-Reply-To: <assp.008319ef8c.0f18d5f68af55df04688012dddb695bf@ringofsaturn.com>
References:  <634914A010D0B943A035D226786325D422B76F91CA@EXVMBX020-12.exch020.serverdata.net>	<4DA4A6C7.6050803@FreeBSD.org>	<634914A010D0B943A035D226786325D422B76F9205@EXVMBX020-12.exch020.serverdata.net> <assp.008319ef8c.0f18d5f68af55df04688012dddb695bf@ringofsaturn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/12/2011 12:42 PM, Rusty Nejdl wrote:

> While I was developing a port for ASSP2, I had to have it do a wait
> while it was shutting that down:
>
>
> stop_cmd=assp2_daemon_stop
>
> command=/usr/local/sbin/assp2
> command_interpreter=/usr/local/bin/perl
> pidfile=/var/db/assp2/pid
>
> assp2_daemon_stop()
> {
>   if test -f /var/db/assp2/pid; then
>   checkyesno assp_enable&&

FYI, whether or not the service is enabled is irrelevant to running the 
stop method. rc.subr has been modified to run stop unconditionally for 
some time now.


hth,

Doug

-- 

	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/




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