[Unit] Description=ftp (proftpd) After=network.target Requires=runit.service [Service] Type=simple SyslogIdentifier=proftpd Environment=CONCURRENCYREMOTE=40 PER_IP_INSTANCES=4 LOCALNAME=0 LISTENIP=0 PORT=ftp WorkingDirectory=/var/service/proftpd/ ExecStartPre=/sbin/e-smith/service-status ftp ExecStartPre=/sbin/e-smith/systemd/ftp-tcpsvd ExecStart=/usr/bin/tcpsvd \ -v \ -i ./peers \ -c $CONCURRENCYREMOTE \ -C ${PER_IP_INSTANCES}:'421 per host concurrency limit reached\r\n' \ -l $LOCALNAME \ $LISTENIP \ $PORT \ /usr/sbin/in.proftpd ExecReload=/bin/kill -HUP $MAINPID Restart=always RestartSec=20s [Install] WantedBy=sme-server.target Alias=proftpd.service