edeposit_amqp_antivirusd.py script

Help

$ ./edeposit_amqp_antivirusd.py -h
usage: edeposit_amqp_antivirusd.py start/stop/restart [-f] FN

AMQP daemon for ClamAV antivirus.

positional arguments:
  start/stop/restart  Start/stop/restart the daemon.

optional arguments:
  -h, --help          show this help message and exit
  -f, --foreground    Run at foreground, not as daemon. If not set, script is
                      will run at background as unix daemon.

Example usage:

./edeposit_amqp_antivirusd.py start
started with pid 7195

or:

$ ./edeposit_amqp_antivirusd.py start --foreground

In this case, the script runs as normal program, and it is not daemonized.

Stopping:

$ ./edeposit_amqp_antivirusd.py stop
No handlers could be found for logger "pika.adapters.base_connection"

Don’t be concerned by warnings when stopping the daemon, it is just something that out communication library does.