Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2008 15:26:00 +0530
From:      "lokesh babu" <loc.hello@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   problem while stoping a service using script
Message-ID:  <7d4569950802110156t2b59e568y2dda415fa18776d6@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
hi

i want to know how to stop a service from a script
this is the sample script to stop and start a service in linux,when i kept
faststart then starting a service is working in freebsd similarly i want to
know what to do inorder to stop a service in freebsd.

start|--start | faststart)
        do_start
        ;;
    stop|--stop)
        do_stop

thanks,
Lokesh.



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