app-antivirus/clamav: fix freshclamd.service
authorThomas Raschbacher <lordvan@gentoo.org>
Sun, 7 Oct 2018 18:20:58 +0000 (20:20 +0200)
committerThomas Raschbacher <lordvan@gentoo.org>
Sun, 7 Oct 2018 18:20:58 +0000 (20:20 +0200)
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@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

app-antivirus/clamav/files/freshclamd.service

index a0a72c2e60eb0a71cf0006650f21129cab811df3..21487688066165717d1dc1c83eed1047097de6a0 100644 (file)
@@ -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