From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 09:56:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54C4A16A419 for ; Mon, 11 Feb 2008 09:56:02 +0000 (UTC) (envelope-from loc.hello@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id 0889C13C45E for ; Mon, 11 Feb 2008 09:56:01 +0000 (UTC) (envelope-from loc.hello@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so6733576pyb.10 for ; Mon, 11 Feb 2008 01:56:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=NN+9UD85LH3trsgAmj6Pjauee4LrBCGcYSB6Su3suWU=; b=Ureex2NRIHH+ojY5nRlB0vxA5rSPu9qo7IH7AGwlxBVaxJAlMSfIoh90is+JACOMROxmubtgrIjU0AC4Gq1eEMe13JrnkCoUtBwqrwquz89w9VcIa6dC0Gr8i3n8r5kdNxteyBYev/4xzvj4DMQArJ05jfeLkevSA51GrmxPEdc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=uQ7ZSopAA7T96a0pp2CyoglK3rbiR4ZEmJCFp36XKyXxNI+EjYC9lWk70HPxiuaRWSHQ1yjusTWoFyA0HATCUjRi8M1nEnyUYLLCLfxG2jLC46vcNXGb7EmHKxBIh/RqQsSin19+Mqy9vKr4YnvAYWHR1sa6mo/7Xugi3NX3vGA= Received: by 10.65.61.5 with SMTP id o5mr31428199qbk.62.1202723760783; Mon, 11 Feb 2008 01:56:00 -0800 (PST) Received: by 10.65.96.2 with HTTP; Mon, 11 Feb 2008 01:56:00 -0800 (PST) Message-ID: <7d4569950802110156t2b59e568y2dda415fa18776d6@mail.gmail.com> Date: Mon, 11 Feb 2008 15:26:00 +0530 From: "lokesh babu" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: problem while stoping a service using script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 09:56:02 -0000 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.