add freshclam
This commit is contained in:
17
templates/freshclam_svc.erb
Normal file
17
templates/freshclam_svc.erb
Normal file
@@ -0,0 +1,17 @@
|
||||
################################################################################
|
||||
### freshclam.svc created by Puppet, manual changes will be overwritten!!! ###
|
||||
################################################################################
|
||||
|
||||
[Unit]
|
||||
Description = ClamAV Scanner
|
||||
After = network.target
|
||||
|
||||
[Service]
|
||||
Type = forking
|
||||
#if you want to update database automatically more than once a day change the number 1
|
||||
ExecStart = /usr/bin/freshclam -d -c 1
|
||||
Restart = on-failure
|
||||
PrivateTmp =true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user