On Mon, 18 Dec 2000, Amir Tal wrote:

> hi list,
>
> where is the best place to autostart Ncftpd from ?
> rc.local does not load it very well, and the process get's stuck every
> time the machine boot's.

What exactly do you run?

>
> this is RH7 btw...

Use your system's tools. Write a simple init.d script (copy from one of
the other scripts in /etc/rc.d/init.d . Take care to set the priority
right in the chkconfig lines).

And then you can use all the availble tools for sysv init scripts
(chkconfig, ntsysv, linuxconf, mv, whatevvr)

And then you don't have to remember the exact command-line switches for
restarting,or for reloading configuration (if you write the script well,
that is). You also get '/etc/rc.d/init.d/ncftpd status' for free.

HTH

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to