Permalink
Browse files

Adding clamav unit(s)

  • Loading branch information...
1 parent ab8b8b3 commit b474b07feeb723820c67114e567eaf5620365337 @johannbg committed Jan 7, 2012
View
@@ -0,0 +1,2 @@
+This directory contains the unit file(s) for clamav project.
+Upstream source http://download.sourceforge.net/sourceforge/clamav
@@ -0,0 +1,10 @@
+[Unit]
+Description=Milter Module For The Clam Antivirus Scanner
+Before=sendmail.service postfix.service
+
+[Service]
+ExecStart=/usr/sbin/clamav-milter -c /etc/mail/clamav-milter.conf --nofork=yes
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target
@@ -0,0 +1,10 @@
+[Unit]
+Description=Generic Clamav Scanner Daemon
+Before=clamav-milter.service
+
+[Service]
+ExecStart=/usr/sbin/clamd -c /etc/clamd.d/scan.conf --nofork=yes
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target

0 comments on commit b474b07

Please sign in to comment.