Re: Re: stop/start services

2006-04-12 Thread [EMAIL PROTECTED]

   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 [EMAIL PROTECTED]
   Para: eoghan [EMAIL PROTECTED]
   Cc: freebsd-questions@freebsd.org [EMAIL PROTECTED]
   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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Re: stop/start services

2006-04-12 Thread fbsd
 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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, April 12, 2006 3:47 PM
To: freebsd-questions@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 [EMAIL PROTECTED]
   Para: eoghan [EMAIL PROTECTED]
   Cc: freebsd-questions@freebsd.org [EMAIL PROTECTED]
   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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re: stop/start services

2006-04-12 Thread Odhiambo Washington
* On 12/04/06 16:13 -0400, fbsd wrote:
|  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.

With rcNG, it seems that any script with the executable mode set and
with a matching control statement in /etc/rc.conf will get started
regardless of whether it ends in .sh or not.


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

Gee, Toto, I don't think we are in Kansas anymore.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]