From 0c8f66aec45f02f1dd768dcb021c2cff1d0ff549 Mon Sep 17 00:00:00 2001 From: Jiri Skala Date: Tue, 10 Sep 2013 08:26:51 +0200 Subject: [PATCH] fixed #1005549 - vsftpd startup broken --- vsftpd.service | 3 +-- vsftpd.spec | 5 ++++- vsftpd.target | 5 ++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/vsftpd.service b/vsftpd.service index 90d7618..8ebae44 100644 --- a/vsftpd.service +++ b/vsftpd.service @@ -1,11 +1,10 @@ [Unit] Description=Vsftpd ftp daemon After=network.target -PartOf=vsftpd.target [Service] Type=forking ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf [Install] -WantedBy=vsftpd.target +WantedBy=multi-user.target diff --git a/vsftpd.spec b/vsftpd.spec index 4b39c14..53309c0 100644 --- a/vsftpd.spec +++ b/vsftpd.spec @@ -3,7 +3,7 @@ Name: vsftpd Version: 3.0.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Very Secure Ftp Daemon Group: System Environment/Daemons @@ -172,6 +172,9 @@ rm -rf $RPM_BUILD_ROOT %{_sysconfdir}/rc.d/init.d/vsftpd %changelog +* Tue Sep 10 2013 Jiri Skala - 3.0.2-7 +- fixed #1005549 - vsftpd startup broken + * Wed Sep 04 2013 Jiri Skala - 3.0.2-6 - fixes usage pasv_address option in combination with external IP - updated man pages - multile instances using vsftpd.target diff --git a/vsftpd.target b/vsftpd.target index 4de0c14..3f0a942 100644 --- a/vsftpd.target +++ b/vsftpd.target @@ -1,3 +1,6 @@ [Unit] Description=FTP daemon -Documentation=man:vsftpd +After=network.target + +[Install] +WantedBy=multi-user.target