forked from mirrors/nixpkgs
clamav: run freshclam in daemon mode
This commit is contained in:
parent
6e2b8973e4
commit
28fd7ea190
1 changed files with 2 additions and 2 deletions
|
@ -71,10 +71,10 @@ in
|
||||||
mkdir -m 0755 -p ${stateDir}
|
mkdir -m 0755 -p ${stateDir}
|
||||||
chown ${clamavUser}:${clamavGroup} ${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}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue