Page 1 of 1

autostart run-pureftpd without warning, how?

Posted: Mon Jan 06, 2025 6:49 pm
by gychang

I am running latest bookwormpup64 and trying to figure out how to autostart pureftpd for home networking and have the window below not show up. I put a soft-link to the file in /root/Startup/ directory as can be seen and it triggers the window everytime I boot. Is there a command/option that will hide the window?
command pure-ftpd -h gives some info but couldn't figure out....


Re: autostart run-pureftpd without warning, how?

Posted: Wed Jan 08, 2025 1:24 am
by chris_r

For what it is worth, I do that with the ftpd service in busybox. if you run
ftpd --help
That then refers to tcpsvd. My actual command is

tcpsvd -vE 0.0.0.0 21 ftpd -a root -w /root/ftpd/


Re: autostart run-pureftpd without warning, how?

Posted: Wed Jan 08, 2025 3:21 am
by radky

@gychang

For pure-ftpd guidelines, the following may be helpful:

https://linux.die.net/man/8/pure-ftpd

---

The Puppy run-pureftpd utility starts pure-ftpd with the following default parameters:

-E --noanonymous
-b --brokenclientscompatibility
-B --daemonize
-A --chrooteveryone
-D --displaydotfiles
-H --dontresolve
-k --maxdiskusagepct

To auto-start pure-ftpd as a background process at boot time (no GUI) you could add the following command line to a startup script such as /etc/rc.d/rc.local:

pure-ftpd -EbBADHk 90