initial commit of file from CVS for e-smith-proftpd on Wed 12 Jul 09:05:44 BST 2023
This commit is contained in:
16
root/usr/lib/systemd/system/ftp.service
Normal file
16
root/usr/lib/systemd/system/ftp.service
Normal file
@@ -0,0 +1,16 @@
|
||||
[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
|
@@ -0,0 +1,5 @@
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/bin/false
|
||||
ExecReload=/bin/false
|
||||
# disabled for Koozali, please use ftp.service instead
|
Reference in New Issue
Block a user