diff --git a/_service:download_url:vsftpd-2.3.4.tar.gz b/_service:download_url:vsftpd-2.3.4.tar.gz deleted file mode 100644 index 818245f..0000000 --- a/_service:download_url:vsftpd-2.3.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b466edf96437afa2b2bea6981d4ab8b0204b83ca0a2ac94bef6b62b42cc71a5a -size 187043 diff --git a/vsftpd.changes b/vsftpd.changes index 9ea0ef7..35516f6 100644 --- a/vsftpd.changes +++ b/vsftpd.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat Nov 26 16:31:20 UTC 2011 - crrodriguez@opensuse.org + +- fis copy/paste error in previous change + +------------------------------------------------------------------- +Fri Nov 25 22:14:14 UTC 2011 - crrodriguez@opensuse.org + +- Add systemd unit + ------------------------------------------------------------------- Thu Sep 22 11:17:04 UTC 2011 - mvyskocil@suse.cz diff --git a/vsftpd.service b/vsftpd.service new file mode 100644 index 0000000..070459f --- /dev/null +++ b/vsftpd.service @@ -0,0 +1,10 @@ +[Unit] +Description=Vsftpd ftp daemon +After=network.target + +[Service] +Type=forking +ExecStart=/usr/sbin/vsftpd /etc/vsftpd.conf + +[Install] +WantedBy=multi-user.target diff --git a/vsftpd.spec b/vsftpd.spec index 71d2b7f..1251b05 100644 --- a/vsftpd.spec +++ b/vsftpd.spec @@ -38,6 +38,7 @@ Source3: %name.init Source4: README.SUSE Source5: %name.xml Source6: %name.firewall +Source7: vsftpd.service Patch1: %name-2.0.4-lib64.diff Patch3: %name-2.0.4-xinetd.diff Patch4: %name-2.0.4-enable-ssl.patch @@ -94,6 +95,7 @@ install -d $RPM_BUILD_ROOT/%_datadir/omc/svcinfo.d/ install -D -m 644 %SOURCE5 $RPM_BUILD_ROOT/%_datadir/omc/svcinfo.d/ install -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ install -m 644 %{S:6} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} +install -D -m 0644 %SOURCE7 %{buildroot}/lib/systemd/system/vsftpd.service %pre /usr/sbin/useradd -r -o -g nogroup -s /bin/false -c "Secure FTP User" -d /var/lib/empty ftpsecure 2> /dev/null || : @@ -113,6 +115,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) +/lib/systemd/system/vsftpd.service /usr/sbin/%name /usr/sbin/rc%name %config /etc/init.d/%name