| 1 | [Unit] |
| 2 | Description = ProFTPD FTP Server |
| 3 | Wants=network-online.target |
| 4 | After=network-online.target nss-lookup.target local-fs.target remote-fs.target |
| 5 | |
| 6 | [Service] |
| 7 | Type = forking |
| 8 | Environment = PROFTPD_OPTIONS= |
| 9 | EnvironmentFile = -/etc/sysconfig/proftpd |
| 10 | ExecStartPre = /usr/sbin/proftpd --configtest |
| 11 | ExecStart = /usr/sbin/proftpd $PROFTPD_OPTIONS |
| 12 | ExecReload = /bin/kill -HUP $MAINPID |
| 13 | PIDFile = /run/proftpd/proftpd.pid |
| 14 | |
| 15 | [Install] |
| 16 | WantedBy = multi-user.target |