commit:     3a8dd8fcdef8b3a4a41af84b7b35a1a439e56ad7
Author:     Thomas Raschbacher <lordvan <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  7 18:20:58 2018 +0000
Commit:     Thomas Raschbacher <lordvan <AT> gentoo <DOT> org>
CommitDate: Sun Oct  7 18:20:58 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a8dd8fc

app-antivirus/clamav: fix freshclamd.service

Fix for freschclamd systemd file.
Thanks to Shaun for the patch and floppym for checking.
Closes https://bugs.gentoo.org/592668

Signed-off-by: Thomas Raschbacher <lordvan <AT> gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 app-antivirus/clamav/files/freshclamd.service | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-antivirus/clamav/files/freshclamd.service 
b/app-antivirus/clamav/files/freshclamd.service
index a0a72c2e60e..21487688066 100644
--- a/app-antivirus/clamav/files/freshclamd.service
+++ b/app-antivirus/clamav/files/freshclamd.service
@@ -3,6 +3,9 @@ Description=clamav updater
 
 [Service]
 Type=forking
+User=clamav
+Group=clamav
+RuntimeDirectory=clamav
 PIDFile=/run/clamav/freshclam.pid
 ExecStart=/usr/bin/freshclam -d -p /run/clamav/freshclam.pid
 

Reply via email to