diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-11-07 16:18:24 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-11-07 16:38:57 +0100 |
commit | 000962c3fb53dcbe07e365875623d2d19fb4cdf6 (patch) | |
tree | 69b539d515e100cca8b72b10b24fd1fe7fef1d70 /nixos/modules/services/networking | |
parent | 10e31f6de73536ff545e1799ae72c9f2ab423202 (diff) | |
download | nixlib-000962c3fb53dcbe07e365875623d2d19fb4cdf6.tar nixlib-000962c3fb53dcbe07e365875623d2d19fb4cdf6.tar.gz nixlib-000962c3fb53dcbe07e365875623d2d19fb4cdf6.tar.bz2 nixlib-000962c3fb53dcbe07e365875623d2d19fb4cdf6.tar.lz nixlib-000962c3fb53dcbe07e365875623d2d19fb4cdf6.tar.xz nixlib-000962c3fb53dcbe07e365875623d2d19fb4cdf6.tar.zst nixlib-000962c3fb53dcbe07e365875623d2d19fb4cdf6.zip |
vsftpd: Run in the background and log to syslog (i.e. journal)
Diffstat (limited to 'nixos/modules/services/networking')
-rw-r--r-- | nixos/modules/services/networking/vsftpd.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/vsftpd.nix b/nixos/modules/services/networking/vsftpd.nix index e398230e1681..cfd8530717e3 100644 --- a/nixos/modules/services/networking/vsftpd.nix +++ b/nixos/modules/services/networking/vsftpd.nix @@ -83,10 +83,11 @@ let ${optionalString (cfg.userlistFile != null) '' userlist_file=${cfg.userlistFile} ''} - background=NO + background=YES listen=YES nopriv_user=vsftpd secure_chroot_dir=/var/empty + syslog_enable=YES ''; in @@ -185,6 +186,7 @@ in serviceConfig.ExecStart = "@${vsftpd}/sbin/vsftpd vsftpd ${configFile}"; serviceConfig.Restart = "always"; + serviceConfig.Type = "forking"; }; }; |