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/

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[email protected]"

Reply via email to