clamav/clamav-milter.systemd

26 lines
528 B
Plaintext
Raw Normal View History

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