smeserver-proftpd/root/usr/lib/systemd/system/ftp.service

17 lines
341 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=ftp (proftpd)
After=network.target
Requires=runit.service
[Service]
Type=oneshot
ExecStartPre=/sbin/e-smith/service-status ftp
ExecStart=/usr/bin/sv u /service/ftp
ExecStop=/usr/bin/sv stop /service/ftp
ExecReload=/usr/bin/sv t /service/ftp
RemainAfterExit=yes
[Install]
WantedBy=sme-server.target
Alias=proftpd.service