summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Gebhardt <hsggebhardt@gmail.com>2013-09-01 10:47:42 -0400
committerHenry Gebhardt <hsggebhardt@gmail.com>2013-09-01 10:47:42 -0400
commitf0e317320712f7d5c294179ebfc25129c2a9bc31 (patch)
treeaa75df6c7bfa11cdbfcbd3f7c4d47e6558845100
parentsys-apps/systemd-units: remove a bunch included in main tree (diff)
downloadsystemd-f0e317320712f7d5c294179ebfc25129c2a9bc31.tar.gz
systemd-f0e317320712f7d5c294179ebfc25129c2a9bc31.tar.bz2
systemd-f0e317320712f7d5c294179ebfc25129c2a9bc31.zip
sys-apps/systemd-units: fix vsftpd@.service
For some reason, the exit code is 2 when running on-demand.
-rw-r--r--sys-apps/systemd-units/files/services-server/vsftpd_at.service4
1 files changed, 4 insertions, 0 deletions
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