From a10bf432032c89e7230005a4ce5ec160b076abf2 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sat, 2 Apr 2011 09:20:59 +0200 Subject: [PATCH] vsftpd: Add systemd unit file. References #153. --- pkgs/vsftpd/systemd/vsftpd.service | 9 +++++++++ pkgs/vsftpd/vsftpd.init | 9 --------- pkgs/vsftpd/vsftpd.nm | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) create mode 100644 pkgs/vsftpd/systemd/vsftpd.service delete mode 100644 pkgs/vsftpd/vsftpd.init diff --git a/pkgs/vsftpd/systemd/vsftpd.service b/pkgs/vsftpd/systemd/vsftpd.service new file mode 100644 index 000000000..4d1148f81 --- /dev/null +++ b/pkgs/vsftpd/systemd/vsftpd.service @@ -0,0 +1,9 @@ +[Unit] +Description=Very Secure FTP Daemon + +[Service] +Type=forking +ExecStart=/usr/bin/vsftpd /etc/vsftpd/vsftpd.conf + +[Install] +WantedBy=multi-user.target diff --git a/pkgs/vsftpd/vsftpd.init b/pkgs/vsftpd/vsftpd.init deleted file mode 100644 index ac8b02f2d..000000000 --- a/pkgs/vsftpd/vsftpd.init +++ /dev/null @@ -1,9 +0,0 @@ -description "Very secure FTP daemon" -author "IPFire Team" - -start on started network -stop on kill-all-network-services or stopping network - -exec /usr/bin/vsftpd /etc/vsftpd/vsftpd.conf -obackground=NO -expect daemon -respawn diff --git a/pkgs/vsftpd/vsftpd.nm b/pkgs/vsftpd/vsftpd.nm index a08613cee..c93c8367f 100644 --- a/pkgs/vsftpd/vsftpd.nm +++ b/pkgs/vsftpd/vsftpd.nm @@ -26,7 +26,7 @@ include $(PKGROOT)/Include PKG_NAME = vsftpd PKG_VER = 2.3.4 -PKG_REL = 2 +PKG_REL = 3 PKG_MAINTAINER = PKG_GROUPS = Networking/Daemons -- 2.39.5