Add clamav
This commit is contained in:
14
rc.clamav/freshclam/run
Normal file
14
rc.clamav/freshclam/run
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/execlineb -P
|
||||
|
||||
##################################################
|
||||
# Start freshclam (a virus database update tool) #
|
||||
##################################################
|
||||
|
||||
fdmove -c 2 1
|
||||
s6-envdir env
|
||||
multisubstitute {
|
||||
importas -u CMD CMD
|
||||
importas -usCd" " CMD_OPTS CMD_OPTS
|
||||
}
|
||||
s6-setuidgid clamav
|
||||
exec -c $CMD $CMD_OPTS
|
Reference in New Issue
Block a user