summary refs log tree commit diff
path: root/nixos/modules/services/security
diff options
context:
space:
mode:
authorLongrin Wischnewski <robberer@freakmail.de>2014-09-01 09:41:19 +0200
committerLongrin Wischnewski <robberer@freakmail.de>2014-09-01 09:41:19 +0200
commit28fd7ea19019685b1330dac5118ab412ff25bdc2 (patch)
tree189720629d1dc8c32e762bb7e6c41017602ce89c /nixos/modules/services/security
parent6e2b8973e4865ee36009f7cd431dda4988fcc0dd (diff)
downloadnixlib-28fd7ea19019685b1330dac5118ab412ff25bdc2.tar
nixlib-28fd7ea19019685b1330dac5118ab412ff25bdc2.tar.gz
nixlib-28fd7ea19019685b1330dac5118ab412ff25bdc2.tar.bz2
nixlib-28fd7ea19019685b1330dac5118ab412ff25bdc2.tar.lz
nixlib-28fd7ea19019685b1330dac5118ab412ff25bdc2.tar.xz
nixlib-28fd7ea19019685b1330dac5118ab412ff25bdc2.tar.zst
nixlib-28fd7ea19019685b1330dac5118ab412ff25bdc2.zip
clamav: run freshclam in daemon mode
Diffstat (limited to 'nixos/modules/services/security')
-rw-r--r--nixos/modules/services/security/clamav.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/security/clamav.nix b/nixos/modules/services/security/clamav.nix
index 057891a60475..a4d54301fc17 100644
--- a/nixos/modules/services/security/clamav.nix
+++ b/nixos/modules/services/security/clamav.nix
@@ -71,10 +71,10 @@ in
             mkdir -m 0755 -p ${stateDir}
             chown ${clamavUser}:${clamavGroup} ${stateDir}
           '';
-          exec = "${pkgs.clamav}/bin/freshclam --config-file=${pkgs.writeText "freshclam.conf" cfg.updater.config}";
+          exec = "${pkgs.clamav}/bin/freshclam --daemon --config-file=${pkgs.writeText "freshclam.conf" cfg.updater.config}";
       }; 
     };
 
   };
 
-}
\ No newline at end of file
+}