Click to See Complete Forum and Search --> : xinit.d


Dark Ninja
11-04-2001, 10:59 PM
Okay, I'm working on setting myself up some servers - things like that. Now, one thing I was curious about was the init.d (or, rather, xinit.d in the case of Mandrake). I guess...from what I've read...services that are in init.d wait for someone to attempt to login before they start. That's what I want. Now, I've just installed ProFTPD, and, I found this file in my /etc/xinit.d/ folder.


# default: off
# description: proftpd server, xinetd version. \
# Don't run the standalone version if you run \
# this!

service ftp
{
disable = yes
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.ftpd
log_on_success += DURATION USERID
log_on_failure += USERID
nice = 10
disable = yes
}

Now, I'm guessing that because of the 'disable = yes' line at the top I cannot currently use the init.d "thing." If I just remove that, and edit the /etc/proftpd.conf file, would I be able to run this feature then?

Thanks for your help. Linux is getting sexier every day. :D


Dark Ninja

SykkN
11-04-2001, 11:57 PM
If you change the "disable = yes" to "disable = no" and restart xinetd.d, your ftp connection should be working. I read that you can do kill -HUP [pid] to restart the xinetd, but I have not actually gotten that to work. I usually just restart the OS.
I hope this was helpful.