Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Nov 2005 15:11:35 +0100
From:      "martinko" <martinkov@pobox.sk>
To:        "Foo Ji-Haw" <jhfoo@nexlabs.com>,<freebsd-questions@freebsd.org>
Subject:   Re: starting services?
Message-ID:  <20051121140830.M11345@pobox.sk>
In-Reply-To: <011e01c5ee41$a8a18610$c801a8c0@nexpc>
References:  <000001c5eb7d$240a47a0$d1c88a45@picklepie><20051117091909.00812699.lists@interpool.ca> <dllcot$4ca$1@sea.gmane.org> <011e01c5ee41$a8a18610$c801a8c0@nexpc>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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