1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/optional/clamav/start.sh

11 lines
174 B
Bash
Raw Normal View History

#!/bin/sh
# Bootstrap the database if clamav is running for the first time
[ -f /data/main.cvd ] || freshclam
# Run the update daemon
freshclam -d -c 6
# Run clamav
clamd