1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
[Unit] Description=Prometheus exporter for clamav Requires=network-online.target After=network-online.target After=clamav-daemon.service [Service] DynamicUser=yes User=clamav_exporter Restart=on-failure ExecStart=/usr/bin/prometheus-clamav-exporter NoNewPrivileges=true [Install] WantedBy=multi-user.target