[Lunar-commits] <moonbase-other> clamav: Added systemd service files

Stefan Wold ratler at lunar-linux.org
Tue Jul 31 20:42:14 CEST 2012


commit b8e95bb2f4867ad4ac465c6db4a8c2967fcb113f
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Tue, 31 Jul 2012 11:42:14 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/b8e95bb2f4867ad4ac465c6db4a8c2967fcb113f

clamav: Added systemd service files
---
  security/clamav/systemd.d/clamd.service                      +12/-0    
  security/clamav/systemd.d/freshclam.service                  +11/-0    
  2 files changed, 23 insertions (+), 0 deletions (-)

--- /dev/null
+++ b/security/clamav/systemd.d/clamd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Generic clamav scanner daemon
+After=syslog.target nss-lookup.target network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/clamd -c /etc/clamd.conf
+Restart=on-failure
+PrivateTmp=true
+
+[Install]
+WantedBy=multi-user.target
--- /dev/null
+++ b/security/clamav/systemd.d/freshclam.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=clamav definition auto-updater
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/freshclam -d -c 1
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target




More information about the Lunar-commits mailing list