mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-14 10:53:30 +02:00
12 lines
238 B
Python
Executable File
12 lines
238 B
Python
Executable File
#!/usr/local/bin/python3
|
|
|
|
import os
|
|
|
|
# Bootstrap the database if clamav is running for the first time
|
|
os.system("[ -f /data/main.cvd ] || freshclam")
|
|
|
|
# Run the update daemon
|
|
os.system("freshclam -d -c 6")
|
|
|
|
# Run clamav
|
|
os.system("clamd") |