initial commit of file from CVS for smeserver-clamav on Mon 10 Jul 08:35:52 BST 2023

This commit is contained in:
Brian Read
2023-07-10 08:35:52 +01:00
parent bfd6d39c86
commit 8a58bd853d
142 changed files with 1456 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
[Unit]
# New service file specifically for SME
# Copied from clamav install file
Description=clamd scanner (%i) daemon
Documentation=man:clamd(8) man:clamd.conf(5) https://www.clamav.net/documents/
After=syslog.target nss-lookup.target network.target
[Service]
Type = forking
ExecStartPre=/sbin/e-smith/service-status clamd
ExecStartPre=-/sbin/e-smith/expand-template /etc/clamd.d/scan.conf
ExecStart=/usr/sbin/clamd -c /etc/clamd.d/scan.conf
# Reload the database
ExecReload=/bin/kill -USR2 $MAINPID
Restart=on-failure
TimeoutStartSec=420
[Install]
WantedBy=sme-server.target