From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 18:10:06 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82C6516A424 for ; Fri, 23 Dec 2005 18:10:06 +0000 (GMT) (envelope-from teilhk@crosswinds.net) Received: from cwpro1.crosswinds.net (cwpro1.crosswinds.net [69.28.227.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBA0D43D5D for ; Fri, 23 Dec 2005 18:10:02 +0000 (GMT) (envelope-from teilhk@crosswinds.net) Received: from [201.127.10.40] (helo=fortunato) by cwpro1.crosswinds.net with smtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1EprMe-000PGT-Q9 for freebsd-questions@freebsd.org; Fri, 23 Dec 2005 13:10:01 -0500 Message-ID: <00e701c607ec$12dbd170$210110ac@fortunato> From: "Teilhard Knight" To: "FreeBDS" References: <1135073064.11860.2.camel@DIRAC> <20051220222111.GE12298@fornost.com> Date: Fri, 23 Dec 2005 12:09:51 -0600 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cwpro1.crosswinds.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - crosswinds.net X-Source: X-Source-Args: X-Source-Dir: Subject: Re: Simple question 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: Fri, 23 Dec 2005 18:10:06 -0000 > On Tue, Dec 20, 2005 at 05:08:33PM -0500, David R. Litwin wrote: >>>What's the command to stop a service like gdm? >>Killall. > > Seems like a bad idea, unless the service is hung. Using the proper init > script would make more sense. To simply stop the service, /etc/init.d/gdm > stop > as root would do the trick. To change things so that it does not start on > the next boot, removing the symlink in the appropriate runlevel (the > default is 2, I believe) would do the trick. > > If you're concerned with managing services on boot in general then I > highly recommend a program such as sysv-rc-conf or rcconf to manage the > symbolic links for you. Actually, I needed to stop gdm only for installing a package. But you have given me very valuable information. I appreciate your feedback. Teilhard.