Skip to content

Commit

Permalink
app-antivirus/clamav: fixup systemd units
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/627700
Closes: gentoo#6621
Package-Manager: Portage-2.3.19_p2, Repoman-2.3.6_p36
  • Loading branch information
floppym committed Dec 24, 2017
1 parent f8bc607 commit 44d72fe
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
11 changes: 8 additions & 3 deletions app-antivirus/clamav/files/clamd.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
.include /usr/lib/systemd/system/[email protected]

[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
3 changes: 3 additions & 0 deletions app-antivirus/clamav/files/clamd_at.service
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 44d72fe

Please sign in to comment.