I am using ESET on a RHEL7 machine.
The on demand scan is working.
Since the machine is used as an sftp server, I would like to use the on access scan when a new file is added to a specific directory.
In the esets.cfg file I specified the action (create) and directory in [pac].
In het sshd.service file, the environment=LD_PRELOAD=.../libesets_pac.so is defined.
This environment is loaded for sshd. However, the on access scan seems not te be working according to the stats.onaccess file.
I tried to upload the EICAR test file and it's not detected (~ no scan performed).