summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2020-05-25 20:14:20 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2020-05-25 20:14:20 +0200
commitc18fae4a3521cde806e925f34427e0234af71faf (patch)
tree471f10dc99cd366a714d02349da382188c343ce6 /nixos
parentab3f7b62adaddf234aaa9f51d7bd87948598ac3c (diff)
downloadnixpkgs-c18fae4a3521cde806e925f34427e0234af71faf.tar
nixpkgs-c18fae4a3521cde806e925f34427e0234af71faf.tar.gz
nixpkgs-c18fae4a3521cde806e925f34427e0234af71faf.tar.bz2
nixpkgs-c18fae4a3521cde806e925f34427e0234af71faf.tar.lz
nixpkgs-c18fae4a3521cde806e925f34427e0234af71faf.tar.xz
nixpkgs-c18fae4a3521cde806e925f34427e0234af71faf.tar.zst
nixpkgs-c18fae4a3521cde806e925f34427e0234af71faf.zip
vsftpd: listen on both address families
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/vsftpd.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/vsftpd.nix b/nixos/modules/services/networking/vsftpd.nix
index b3e20184423..c57994533c1 100644
--- a/nixos/modules/services/networking/vsftpd.nix
+++ b/nixos/modules/services/networking/vsftpd.nix
@@ -116,7 +116,8 @@ let
         userlist_file=${cfg.userlistFile}
       ''}
       background=YES
-      listen=YES
+      listen=NO
+      listen_ipv6=YES
       nopriv_user=vsftpd
       secure_chroot_dir=/var/empty
       ${optionalString (cfg.localRoot != null) ''