pid-file NcFTPd general.cf file configuration
Don't forget to restart NcFTPd after modifying the general.cf file.

The server requires a place to write the process IDs of the processes it creates.  It creates a small text file with one PID per line, for your convenience. Actually, the file created is a Bourne-shell script, which when run, sends a termination signal to each child process.  Therefore, the way to use this file is to run this file as root.  (Note:  do not do "kill `cat ncftpd.pid.sh`").

If you have a newer operating system, you may have a standard directory for all of these PID files that NcFTPd and other processes create, such as the /var/run directory.  Otherwise, a good place to put it is in /etc, or /usr/local/etc/ncftpd.

Examples:

Recommendation:
Up
Previous: passive-ip NcFTPd Home Next: port