Starting Pure-FTPd

I just installed Pure-FTPd, and I started it using:
./pure-config.pl /usr/local/etc/pure-ftpd.conf

I'm wondering if I can start the daemon at boot by adding something like pureftpd_enable="YES". Not sure if it will use the configuration file though. Thanks in advance.
 
If you look in the rc script it says this at the top...

#!/bin/sh

# PROVIDE: pureftpd
# REQUIRE: NETWORKING SERVERS
# BEFORE: DAEMON
# KEYWORD: shutdown

#
# Add the following lines to /etc/rc.conf to enable pure-ftpd:
#
# pureftpd_enable="YES"
#
# For launch uploadscript daemon define
# pureftpd_upload_enable="YES"
# pureftpd_uploadscript="/full/path/to/launch_script"

And yes, it would be enabled at boot time.
 
Back
Top