-
Notifications
You must be signed in to change notification settings - Fork 715
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use %f instead of %I because were dealing with paths
- Loading branch information
1 parent
d44d714
commit e6bde18
Showing
4 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|