From f0e317320712f7d5c294179ebfc25129c2a9bc31 Mon Sep 17 00:00:00 2001 From: Henry Gebhardt Date: Sun, 1 Sep 2013 10:47:42 -0400 Subject: sys-apps/systemd-units: fix vsftpd@.service For some reason, the exit code is 2 when running on-demand. --- sys-apps/systemd-units/files/services-server/vsftpd_at.service | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys-apps/systemd-units/files/services-server/vsftpd_at.service b/sys-apps/systemd-units/files/services-server/vsftpd_at.service index 1d89cca..5380b83 100644 --- a/sys-apps/systemd-units/files/services-server/vsftpd_at.service +++ b/sys-apps/systemd-units/files/services-server/vsftpd_at.service @@ -2,5 +2,9 @@ Description=Very Secure FTP Daemon [Service] +Type=simple +# Note: Do not use ExecStartPre=/usr/libexec/vsftpd-checkconfig.sh, as it +# requires one of the listen options to be enabled. ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf -obackground=NO -olisten=NO -olisten_ipv6=NO StandardInput=socket +SuccessExitStatus=2 -- cgit v1.2.3-65-gdbad