[packages/clamav] - ClamAV daemon systemd service
kiesiu
kiesiu at pld-linux.org
Mon Mar 18 10:40:43 CET 2013
commit 4063f71bbdc11911c9f9abe603c5382b5e6378d0
Author: Łukasz Kieś <kiesiu at pld-linux.org>
Date: Mon Mar 18 09:56:36 2013 +0100
- ClamAV daemon systemd service
clamd.service | 14 ++++++++++++++
1 file changed, 14 insertions(+)
---
diff --git a/clamd.service b/clamd.service
new file mode 100644
index 0000000..784ea15
--- /dev/null
+++ b/clamd.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=ClamAV daemon
+After=syslog.target
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/clamd
+ExecReload=/bin/kill -HUP $MAINPID
+PIDFile=/run/clamav/clamd.pid
+Restart=on-failure
+PrivateTmp=true
+
+[Install]
+WantedBy=multi-user.target
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/clamav.git/commitdiff/09a963734720249c8eeb5127f4ae9095ad5e51e6
More information about the pld-cvs-commit
mailing list