Debian Codegraph @

contrib/dist/systemd/README.systemd

raw
1 Using proftpd with systemd's built-in inetd functionality
2 ---------------------------------------------------------
3
4 On systemd-based systems, you can use systemd's built-in inetd
5 functionality to start proftpd on demand. Note that this is not
6 full "socket activation" where systemd would start a single
7 long-running process to handle the current and subsequent
8 connections, but a simple inetd equivalent where a new instance
9 of proftpd is run for each new incoming connection, each session
10 lasting until its connection drops. This makes it best suited to
11 low-volume applications.
12
13 1. Install the files proftpd.socket and [email protected] from the
14 contrib/dist/systemd directory into either the system unit directory
15 (usually /usr/lib/systemd/system - recommended for downstream
16 packagers) or the local unit directory (/etc/systemd/system -
17 recommended for admins installing from source locally).
18
19 2. Set "ServerType inetd" in /etc/proftpd.conf
20
21 3. Run "systemctl enable proftpd.socket" as root to enable
22 listening for connections at boot time.
23
24 4. Run "systemctl start proftpd.socket" as root to start
25 listening for connections immediately.