Running Multiple Daemon Instances?

I am currently attempting to run multiple instances of an ftp daemon (I have attempted this with both pure-ftpd and vsftpd). Currently I am using vsftpd.

When two instances are called manually and given different configuration files, the daemons run fine and everything works.

The problem I'm having is in writing an rc script that will launch both or independent scripts for the different instances. Often the scripts will launch the daemons, but will not properly shut them down (one will shut down, but the other will not).

Has anyone done this before? Does anyone have any hints for me?
 
Back
Top