Skip to content

Commit

Permalink
Use %f instead of %I because were dealing with paths
Browse files Browse the repository at this point in the history
  • Loading branch information
nils-werner committed Jun 23, 2023
1 parent d44d714 commit e6bde18
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions clamdscan/[email protected]
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Unit]
Description=ClamAV clamdscan %I
Description=ClamAV clamdscan %f
Documentation=man:clamdscan(1) man:clamdscan.conf(5) https://docs.clamav.net/

[Service]
ExecStart=@prefix@/bin/clamdscan --infected --multiscan --fdpass %I
ExecStart=@prefix@/bin/clamdscan --infected --multiscan --fdpass %f
2 changes: 1 addition & 1 deletion clamdscan/[email protected]
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Unit]
Description=Weekly ClamAV clamdscan %I
Description=Weekly ClamAV clamdscan %f

[Timer]
OnCalendar=weekly
Expand Down
4 changes: 2 additions & 2 deletions clamscan/[email protected]
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[Unit]
Description=ClamAV clamscan %I
Description=ClamAV clamscan %f
Documentation=man:clamscan(1) man:clamscan.conf(5) https://docs.clamav.net/

[Service]
Nice=19
IOSchedulingClass=idle
ExecStart=@prefix@/bin/clamscan --recursive=yes --infected --suppress-ok-results %I
ExecStart=@prefix@/bin/clamscan --recursive=yes --infected --suppress-ok-results %f
2 changes: 1 addition & 1 deletion clamscan/[email protected]
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Unit]
Description=Weekly ClamAV clamscan %I
Description=Weekly ClamAV clamscan %f

[Timer]
OnCalendar=weekly
Expand Down

0 comments on commit e6bde18

Please sign in to comment.