]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
vsftpd: Add systemd unit file.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 2 Apr 2011 07:20:59 +0000 (09:20 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 2 Apr 2011 07:20:59 +0000 (09:20 +0200)
References #153.

pkgs/vsftpd/systemd/vsftpd.service [new file with mode: 0644]
pkgs/vsftpd/vsftpd.init [deleted file]
pkgs/vsftpd/vsftpd.nm

diff --git a/pkgs/vsftpd/systemd/vsftpd.service b/pkgs/vsftpd/systemd/vsftpd.service
new file mode 100644 (file)
index 0000000..4d1148f
--- /dev/null
@@ -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 (file)
index ac8b02f..0000000
+++ /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
index a08613ceec0a28851f40758c4499d13c58726e89..c93c8367f38ee6dad1cee2daaa5b8ff0f76bd5a1 100644 (file)
@@ -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