FreeBSD 10 current. After the introduction of staging and the rewrite of the rc.d/pure-ftpd startup script, pure-ftpd starts two instances of the upload script upon reboot if pureftpd_uploadscript is enabled in rc.conf. This only happens upon reboot, never upon starting the service manually when the system is already up and running. My rc.conf: pureftpd_enable="YES" pureftpd_upload_enable="YES" pureftpd_uploadscript="/root/cronscript/liiguta_klientide_failid.sh" The situation after each reboot: root 758 0.0 0.1 59720 6292 - Is 11:50AM 0:00.05 pure-ftpd (SERVER) (pure-ftpd) root 760 0.0 0.1 30528 4316 - Is 11:50AM 0:00.00 /usr/local/sbin/pure-uploadscript -B -r /root/cronscript/liiguta_klientide_failid.sh root 949 0.0 0.1 30528 4480 - Is 11:50AM 0:00.00 /usr/local/sbin/pure-uploadscript -B -r /root/cronscript/liiguta_klientide_failid.sh The situation after killing all the processes and doing service pure-ftpd start: root 2315 0.0 0.1 59720 6532 - Is 11:54AM 0:00.20 pure-ftpd (SERVER) (pure-ftpd) root 2317 0.0 0.1 30528 4616 - Is 11:54AM 0:00.00 /usr/local/sbin/pure-uploadscript -B -r /root/cronscript/liiguta_klientide_failid.sh
Over to maintainer.