stop/start services

fbsd fbsd at a1poweruser.com
Wed Apr 12 20:13:58 UTC 2006


 etc/rc.d is for software that is part of the operating system and
 stuff in here gets launched by control statments in rc.conf

 /usr/local/etc/rc.d is where software installed from the ports
normally put their start up scripts.
At boot time the directory is read and all scripts
ending in .sh get executed.

-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of
jbolivar at cantv.net
Sent: Wednesday, April 12, 2006 3:47 PM
To: freebsd-questions at freebsd.org
Subject: Re: Re: stop/start services



   Hello,
   Please and what is the diference between directory
/usr/local/etc/rc.d
   and etc/rc.d
   Thanks and Regards,
   Julian Bolivar
   ----------- Mensaje Original --------------
   De: Matthew Seaman [m.seaman at infracaninophile.co.uk]
   Para: eoghan [freebsd at redry.net]
   Cc: freebsd-questions at freebsd.org [freebsd-questions at freebsd.org]
   Asunto: Re: stop/start services
   Fecha: 12/04/2006 15:33:11
   Mensaje:
   eoghan wrote: > I asked a question about stopping/starting
tomcat, but
   I suppose I didnt > ask it right. > What I should have asked is:
> How
   do I stop/start services that I have enabled in my rc.conf, such
as >
   mysql, tomcat etc. I have tried from my rc.d/ with tomcat but it
will
   > not work for me... Like this: /usr/local/etc/rc.d/tomcat.sh
start If
   that doesn't print out anything then double check what's in
   /etc/rc.conf If the service apparently starts up, but then you
find
   it's not running a few seconds later, then check any log files
that
   application uses -- it's quite often the case that there's a
   configuration fubar somewhere that is causing the service to give
up.
   Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory
Courtyard
   Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent,
   CT11 9PW
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list