From owner-freebsd-questions@FreeBSD.ORG Mon Nov 21 14:11:40 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 9BC0216A420 for ; Mon, 21 Nov 2005 14:11:40 +0000 (GMT) (envelope-from martinkov@pobox.sk) Received: from mail.pipni.cz (mail.pipni.cz [193.86.238.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78EDD43D60 for ; Mon, 21 Nov 2005 14:11:37 +0000 (GMT) (envelope-from martinkov@pobox.sk) Received: from [193.86.238.3] (port=40377 helo=gamato.org) id 1EeCON-0004GB-DM; Mon, 21 Nov 2005 15:11:35 +0100 From: "martinko" To: "Foo Ji-Haw" , Date: Mon, 21 Nov 2005 15:11:35 +0100 Message-Id: <20051121140830.M11345@pobox.sk> In-Reply-To: <011e01c5ee41$a8a18610$c801a8c0@nexpc> References: <000001c5eb7d$240a47a0$d1c88a45@picklepie><20051117091909.00812699.lists@interpool.ca> <011e01c5ee41$a8a18610$c801a8c0@nexpc> X-Mailer: Open WebMail 2.51 20050228 X-OriginatingIP: 212.202.115.220 (m@gamato.org) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Cc: Subject: Re: starting services? 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, 21 Nov 2005 14:11:40 -0000 On Mon, 21 Nov 2005 10:17:01 +0800, Foo Ji-Haw wrote > > i wonder why i cannot start for instance ssh with > > /etc/rc.d/sshd start > > but i always have to use > > /etc/rc.d/sshd forcestart > > and similarly for stop, status, etc. > > > > any ideas pls ?? > You have to add a line in /etc/rc.conf. I think it is > samba_enable="YES". well, if you add sshd_enable="YES", the service (always) starts on boot. i just want to start it manually and i wonder why it doesn't listen to "start" argument but only "forcestart" and similarly for other commands i've got to use "force". anyone knows why pls ?? martin