Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting of Environment properties #1

Open
sdkrum opened this issue May 23, 2018 · 0 comments
Open

Setting of Environment properties #1

sdkrum opened this issue May 23, 2018 · 0 comments

Comments

@sdkrum
Copy link

sdkrum commented May 23, 2018

Hi!

I tired to configure clamav via the environment properties you specified in the list, and, ah, it looks like these properties are basically ignored.

bash-4.4# printenv
MAX_SCAN_SIZE=3000M
MAX_FILE_SIZE=3000M
.....
_=/bin/printenv```

And still, if i run the clamconf, i see the old values from clamd.conf: 

```bash
bash-4.4# clamconf -n
Checking configuration files in /etc/clamav
Config file: clamd.conf
LogFile = "/var/log/clamav/clamd.log"
.....
MaxScanSize = "157286400"
MaxFileSize = "31457280"
.....```

Am i missing something? I do not see any mechanism to replace these variables in the clamd.conf file, nor do i know that clamd would read these parameters directly from the environment? Am i doing something wrong, or is this mechanism missing? 

Regards
Sören
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant