2010-12-24 12:00:02 +00:00
|
|
|
[Unit]
|
|
|
|
Description = Milter module for the Clam Antivirus scanner
|
2011-08-04 18:33:45 +00:00
|
|
|
After = syslog.target nss-lookup.target network.target
|
2011-07-26 20:57:52 +00:00
|
|
|
Before = sendmail.service
|
|
|
|
Before = postfix.service
|
2017-03-26 22:08:26 +00:00
|
|
|
After = clamd@scan.service
|
2010-12-24 12:00:02 +00:00
|
|
|
|
|
|
|
[Service]
|
2018-01-17 20:49:23 +00:00
|
|
|
Type = forking
|
|
|
|
ExecStart = /usr/sbin/clamav-milter -c /etc/mail/clamav-milter.conf
|
2010-12-24 12:00:02 +00:00
|
|
|
Restart = on-failure
|
|
|
|
|
2015-12-06 17:04:49 +00:00
|
|
|
User=clamilt
|
|
|
|
Group=clamilt
|
|
|
|
|
|
|
|
PrivateTmp=yes
|
|
|
|
PrivateDevices=yes
|
|
|
|
CapabilityBoundingSet=CAP_KILL
|
|
|
|
|
|
|
|
ReadOnlyDirectories=/etc
|
|
|
|
ReadOnlyDirectories=/usr
|
|
|
|
ReadOnlyDirectories=/var/lib
|
|
|
|
|
2010-12-24 12:00:02 +00:00
|
|
|
[Install]
|
|
|
|
WantedBy = multi-user.target
|