Files
operating-automation/roles/deploy-clamd/templates/systemd-freshclam-service.j2
2025-10-08 09:32:02 +02:00

16 lines
447 B
Django/Jinja

[Unit]
Description=ClamAV Signatur-Updater (freshclam)
Documentation=man:freshclam(1) man:freshclam.conf(5) https://www.clamav.net/documents/
Wants=network-online.target
After=network-online.target
ConditionPathExists=!/etc/cron.d/clamav-freshclam
[Service]
User=clamav
Group=clamav
ExecStart=/usr/bin/freshclam -d --foreground=true --config-file /etc/clamav/freshclam.conf
Restart=on-failure
PrivateTmp=true
[Install]
WantedBy=multi-user.target