[Git][debian-proftpd-team/proftpd][master] Added systemd support files for socket mode

Francesco Paolo Lovergine frankie at debian.org
Sun Dec 20 16:53:22 GMT 2020



Francesco Paolo Lovergine pushed to branch master at Debian ProFTPD Team / proftpd


Commits:
1bb40192 by Francesco Paolo Lovergine at 2020-12-20T17:52:59+01:00
Added systemd support files for socket mode

- - - - -


2 changed files:

- + debian/proftpd-core.proftpd.socket
- + debian/proftpd-core.proftpd at .service


Changes:

=====================================
debian/proftpd-core.proftpd.socket
=====================================
@@ -0,0 +1,16 @@
+# Note that to use proftpd via this socket file, you will need:
+#
+#   ServerType inetd
+#
+# in /etc/proftpd/proftpd.conf
+#
+[Unit]
+Description=ProFTPD FTP Server Activation Socket
+Conflicts=proftpd.service
+
+[Socket]
+ListenStream=21
+Accept=true
+
+[Install]
+WantedBy=sockets.target


=====================================
debian/proftpd-core.proftpd at .service
=====================================
@@ -0,0 +1,7 @@
+[Unit]
+Description=ProFTPD FTP Server
+After=network-online.target
+
+[Service]
+ExecStart=-/usr/sbin/in.proftpd
+StandardInput=socket



View it on GitLab: https://salsa.debian.org/debian-proftpd-team/proftpd/-/commit/1bb4019279f1e26837113cdeccfc7a1866da7c6d

-- 
View it on GitLab: https://salsa.debian.org/debian-proftpd-team/proftpd/-/commit/1bb4019279f1e26837113cdeccfc7a1866da7c6d
You're receiving this email because of your account on salsa.debian.org.




More information about the Pkg-proftpd-maintainers mailing list