Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2002 20:03:06 -0800
From:      nuk <nuk@panix.com>
To:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   starting, stopping, and reloading services
Message-ID:  <3DE2F27A.9060705@panix.com>

next in thread | raw e-mail | index | archive | help
Well, I'll admit most of my limited experience has been SysV style Linux 
distros.  There, I'm used to being able to call a script in some 
subdirectory of /etc/initd w/ an option such as start, stop, restart, or 
reload to manipulate services running on that box.  A couple of the 
distros provided shortcuts to even that along the lines of 'rcnfserver 
stop' (SuSE) or 'service nfs stop' (RedHat).  Which leave me wondering: 
exactly how do I start/stop services from the command line in FreeBSD? 
Am I supposed to send the pid of the process a kill or HUP signal 
(someone want to refresh my memory as to the syntax of *that*?), and 
start it w/ a bunch of options/flags to get it back up and running?  Or 
is there an easier way of doing these operations?


TIA,

nuk


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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