diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-25 17:37:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-25 17:37:52 +0000 |
commit | 2f51c9978dda4c6e8debca43e4235ecc86914032 (patch) | |
tree | bc41e1c4383040034174c327504f702c8517a123 /app-antivirus/clamav/files | |
parent | 51536d2fe4697ba9114d611178bb9e20d3d5b729 (diff) |
gentoo resync : 25.12.2017
Diffstat (limited to 'app-antivirus/clamav/files')
-rw-r--r-- | app-antivirus/clamav/files/clamd.service | 11 | ||||
-rw-r--r-- | app-antivirus/clamav/files/clamd_at.service | 3 |
2 files changed, 11 insertions, 3 deletions
diff --git a/app-antivirus/clamav/files/clamd.service b/app-antivirus/clamav/files/clamd.service index efdab4314a22..75aa2ccb624d 100644 --- a/app-antivirus/clamav/files/clamd.service +++ b/app-antivirus/clamav/files/clamd.service @@ -1,7 +1,12 @@ -.include /usr/lib/systemd/system/clamd@.service - [Unit] -Description=Generic ClamAV scanner daemon +Description=clamd scanner daemon +After=nss-lookup.target network.target + +[Service] +Type=forking +ExecStart=/usr/sbin/clamd +Restart=on-failure +PrivateTmp=true [Install] WantedBy=multi-user.target diff --git a/app-antivirus/clamav/files/clamd_at.service b/app-antivirus/clamav/files/clamd_at.service index c5ad8dfa6899..9008ba7e82ed 100644 --- a/app-antivirus/clamav/files/clamd_at.service +++ b/app-antivirus/clamav/files/clamd_at.service @@ -7,3 +7,6 @@ Type=forking ExecStart=/usr/sbin/clamd -c /etc/clamd%i.conf Restart=on-failure PrivateTmp=true + +[Install] +WantedBy=multi-user.target |