Date: Tue, 26 Jun 2007 14:56:45 +1000 From: Norberto Meijome <freebsd@meijome.net> To: sgmayo@mail.bloomfield.k12.mo.us Cc: freebsd-questions@freebsd.org Subject: Re: Starting Scripts Message-ID: <20070626145645.5f847e1c@localhost> In-Reply-To: <467FDCC6.5090404@mail.bloomfield.k12.mo.us> References: <467FDCC6.5090404@mail.bloomfield.k12.mo.us>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 25 Jun 2007 10:18:30 -0500 Scott Mayo <sgmayo@mail.bloomfield.k12.mo.us> wrote: > I have set some things to automatically start in the rc.conf like ssh > and apache by doing 'sshd_enable="YES"' and 'apache22_enable="YES"'. How > do I start things like Zope and Cyrus? [...] hi ! I think your questions have been answered. I just wanted to add that, in case it wasnt obvious from the documentation, you can start those services without having to restart your machine (it isn't MSWindows after all). Simply run /usr/local/etc/rc.d/[yourscript].sh start Now, if you haven't got "yourscript_enable='YES' " in /etc/rc.conf , the above line wont work (the script will try to start, parse rc.conf, realise the service is disabled and bail out silently). To bypass this, simply change 'start' with 'forcestart' and it'll start regardless of what rc.conf says. btw, /etc/ contains scripts and configurations from the FreeBSD system itself (and software that is part of the FreeBSD OS). /usr/local/etc/ contains the same thing for applications / services you installed (from packages and/or ports). They hardly ever overlap. B _________________________ {Beto|Norberto|Numard} Meijome "He loves nature in spite of what it did to him." Forrest Tucker I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070626145645.5f847e1c>