simple linux question

Dan Ritter dsr at tao.merseine.nu
Mon Feb 5 11:08:52 EST 2007


On Mon, Feb 05, 2007 at 07:41:23AM -0800, Joshua D. Milane wrote:
> Hi,
>    
>   I am totally unfamiliar with Linux (almost totally) and need to answer this question:
>    
>   There are at least two ways to start a server (web, mysql, or other kind) at Linux boot.
>    
>   What are they?

1. Use /etc/inittab to have init start it directly.
2. Add an entry in the rc files (two major varieties, SysV and BSD)
   to have init start it slightly later in the boot cycle.
3. Use a supervisor system of some kind (such as daemontools) to
   run and restart it.
4. Have an autologin user and put it in the rc files for that
   user.
5. Use anacron to start it at boot time.
6. Use cron to start it at a specified time, such as "every five
   minutes unless already running"

Everything can be classified according to how many levels away
from init the process is started.


-dsr-


-- 
_.. ___ . ...   _ .... .   _. ... ._   ._. . ._ _..   _.__ ___ .._ ._.
__ ._ .. ._.. ..__..   _ .... .   .._. _... .. ..__..
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list