1 |
commit: 3a8dd8fcdef8b3a4a41af84b7b35a1a439e56ad7 |
2 |
Author: Thomas Raschbacher <lordvan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 7 18:20:58 2018 +0000 |
4 |
Commit: Thomas Raschbacher <lordvan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 7 18:20:58 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a8dd8fc |
7 |
|
8 |
app-antivirus/clamav: fix freshclamd.service |
9 |
|
10 |
Fix for freschclamd systemd file. |
11 |
Thanks to Shaun for the patch and floppym for checking. |
12 |
Closes https://bugs.gentoo.org/592668 |
13 |
|
14 |
Signed-off-by: Thomas Raschbacher <lordvan <AT> gentoo.org> |
15 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
16 |
|
17 |
app-antivirus/clamav/files/freshclamd.service | 3 +++ |
18 |
1 file changed, 3 insertions(+) |
19 |
|
20 |
diff --git a/app-antivirus/clamav/files/freshclamd.service b/app-antivirus/clamav/files/freshclamd.service |
21 |
index a0a72c2e60e..21487688066 100644 |
22 |
--- a/app-antivirus/clamav/files/freshclamd.service |
23 |
+++ b/app-antivirus/clamav/files/freshclamd.service |
24 |
@@ -3,6 +3,9 @@ Description=clamav updater |
25 |
|
26 |
[Service] |
27 |
Type=forking |
28 |
+User=clamav |
29 |
+Group=clamav |
30 |
+RuntimeDirectory=clamav |
31 |
PIDFile=/run/clamav/freshclam.pid |
32 |
ExecStart=/usr/bin/freshclam -d -p /run/clamav/freshclam.pid |