On 2018/01/22 20:07, Torsten Boese wrote:
> Thanks for your response!
> 
> The solution from Landry works fine for me but I think Stuart's solution 
> would also work. But for my goal to have it in the most clean way to work 
> with rcctl is my way.

I've just had another look at the rc script, you can do this:

# rcctl enable pure_ftpd
# rcctl set pure_ftpd flags /etc/pure-ftpd.conf

Make sure "Daemonize yes" is set in the config file.

The only real advantage to doing it this way is that you can comment
the config file, there are no extra settings available - everything
in the file can also be set on the command line.


On 2018/01/21 15:08, Landry Breuil wrote:
> 
> I know debian has/had a perl script which parses a config directory with
> one file by option, which are translated to commandline switches at 
> startup, but that wasnt upstream.

There are two scripts (perl and python) in the pure-ftpd distribution to
do this. They aren't needed any more though, pure-ftpd handles config
files internally.

Reply via email to