At URL I committed an ebuild that adds a working systemd unit for net-ftp/vsftpd. I moved the checkconfig() part of the openrc init script to /usr/libexec/vsftpd-checkconfig.sh to be reusable by the systemd unit. Please have a look at the attached diffs. Reproducible: Always
Created attachment 345874 [details, diff] vsftpd init script diff
Created attachment 345876 [details, diff] vsftpd ebuild diff
Created attachment 345878 [details] vsftpd systemd unit
Patches look good to me. Feel free to commit them
LGTM too
The usr/libexec/vsftpd-checkconfig.sh is missing. Can we have that too?
Created attachment 346082 [details] vsftpd-checkconfig.sh It's on the overlay under FILESDIR however
+*vsftpd-3.0.2-r1 (20 Apr 2013) + + 20 Apr 2013; Markos Chandras <hwoarang@gentoo.org> +vsftpd-3.0.2-r1.ebuild, + +files/vsftpd-3.0.2-remove-legacy-cap.patch, +files/vsftpd.service, + +files/vsftpd-checkconfig.sh, files/vsftpd.init: + Add systemd unit file. Bug #466340 thanks to Fabio Erculiani + <lxnay@gentoo.org>. Add patch to remove legacy capabilities by + Joakim Tjernlund <Joakim.Tjernlund@transmode.se>. Bug #450536 +
Thanks!