summaryrefslogtreecommitdiff
path: root/app-antivirus/clamav/files/clamd.service
diff options
context:
space:
mode:
Diffstat (limited to 'app-antivirus/clamav/files/clamd.service')
-rw-r--r--app-antivirus/clamav/files/clamd.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-antivirus/clamav/files/clamd.service b/app-antivirus/clamav/files/clamd.service
new file mode 100644
index 000000000000..75aa2ccb624d
--- /dev/null
+++ b/app-antivirus/clamav/files/clamd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=clamd scanner daemon
+After=nss-lookup.target network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/clamd
+Restart=on-failure
+PrivateTmp=true
+
+[Install]
+WantedBy=multi-user.target