From owner-freebsd-questions Fri Jul 12 16:14:53 2002 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 A579537B400 for ; Fri, 12 Jul 2002 16:14:51 -0700 (PDT) Received: from saratoga.linuxpowered.net (saratoga.linuxpowered.net [63.121.110.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3604243E42 for ; Fri, 12 Jul 2002 16:14:51 -0700 (PDT) (envelope-from freebsd@aphroland.org) Received: from localhost (localhost [127.0.0.1]) by saratoga.linuxpowered.net (Postfix) with ESMTP id C47932C0105 for ; Fri, 12 Jul 2002 16:14:50 -0700 (PDT) Received: from saratoga.linuxpowered.net (localhost [127.0.0.1]) by saratoga.linuxpowered.net (Postfix) with SMTP id 979812C0104 for ; Fri, 12 Jul 2002 16:14:49 -0700 (PDT) Received: from c2503-ipnat-wa-34.graphon.com ([10.121.110.34]) (SquirrelMail authenticated user aphro) by webmail.linuxpowered.net with HTTP; Fri, 12 Jul 2002 16:14:49 -0700 (PDT) Message-ID: <4339.10.121.110.34.1026515689.squirrel@webmail.linuxpowered.net> Date: Fri, 12 Jul 2002 16:14:49 -0700 (PDT) Subject: how to restart system services in freebsd From: "nate" To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS snapshot-20020300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi this has been a question of mine for a long time, what is the best way to restart services that are loaded via the rc file? I am used to the system V init scripts which of course provide an easy way to restart a service. i know that many ports come with contained init scripts which go to /usr/local/etc/rc.d ..but still a good deal seems to be loaded from those /etc/rc* scripts(rpc/nfs, networking etc) same goes for networking, if I changed /etc/rc.conf to add virtual interfaces whats the best way to reload the configuration? I saw on one website: http://lantech.geekvenue.net/chucktips/jason/chuck/1021162365/index_html where the author reccomended a reboot after changing rc.conf !! ack. I know I can do it manually but am hoping for a more foolproof way. i looked through manpages of rc.conf and rc and could not find info on how to reload a specific service. while I don't mean anything negative towards freebsd's init system, whats the advantage of using it over the more common system V ? or is it there just because it's always been that way ? I am mostly a debian person, so i am used to the debian-way, but i am tryin hard to learn freebsd in-depth too. thanks nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message