HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: //usr/share/doc/proftpd-core/systemd/README.systemd
Using proftpd with systemd's built-in inetd functionality
---------------------------------------------------------

On systemd-based systems, you can use systemd's built-in inetd
functionality to start proftpd on demand. Note that this is not
full "socket activation" where systemd would start a single
long-running process to handle the current and subsequent
connections, but a simple inetd equivalent where a new instance
of proftpd is run for each new incoming connection, each session
lasting until its connection drops. This makes it best suited to
low-volume applications.

1. Install the files proftpd.socket and proftpd@.service from the
   contrib/dist/systemd directory into either the system unit directory
   (usually /usr/lib/systemd/system - recommended for downstream
   packagers) or the local unit directory (/etc/systemd/system -
   recommended for admins installing from source locally).

2. Set "ServerType inetd" in /etc/proftpd.conf

3. Run "systemctl enable proftpd.socket" as root to enable
   listening for connections at boot time.

4. Run "systemctl start proftpd.socket" as root to start
   listening for connections immediately.