Steps to reproduce pkg install pure-ftpd Add to /etc/rc.conf pureftpd_enable="YES" pureftpd_flags="-4" # Can be any other argument, as well Run service pure-ftpd start: Starting pureftpd. 421 Invalid argument: "/usr/local/etc/pure-ftpd.conf" /usr/local/etc/rc.d/pure-ftpd: WARNING: failed to start pureftpd
Created attachment 258890 [details] [PATCH] ftp/pure-ftpd: add @sample keywords and fix rc command_args This is intended behaviour by upstream. See https://github.com/jedisct1/pure-ftpd/blob/15246910744807685fe00e1b301bd8e68123ed16/README.Configuration-File#L30-L31 Command line flags are intended to be mutually exclusive with using a configuration file. Thus, to reflect this, I've attached a patch that forces the pureftpd_flags variable to be mutually exclusive with pureftpd_config. Please see if this is suitable.