[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: How to start deamons?



"Binand Raj S." proclaimed:

<snip>

> PS: As mentioned above, this is totally RedHat specific. I don't know how
> other distributions manage starting/stopping programs.


Here is how it is done in Debian:

1. Place a (shell) script foo, under /etc/init.d/foo
2. Run the following as root:

# cd /etc/init.d
# update-rc.d foo defaults XX

where XX is a 2-digit number corresponding to the "sequence code" at which
the daemon has to be started.


Thaths
-- 
Lisa:  "Dad. You killed the zombie Flanders."
Homer: "He was a Zombie?"
Sudhakar C13n http://people.netscape.com/thaths/ Lead Indentured Slave