Add clamav
This commit is contained in:
13
rc.clamav/clamd/run
Normal file
13
rc.clamav/clamd/run
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/execlineb -P
|
||||
|
||||
######################################
|
||||
# Start clamd (an anti-virus daemon) #
|
||||
######################################
|
||||
|
||||
fdmove -c 2 1
|
||||
foreground { install -o clamav -g clamav -m 0771 -d /run/clamav }
|
||||
s6-envdir env
|
||||
importas -u CMD CMD
|
||||
s6-notifyoncheck -d -w3750 -n16
|
||||
s6-setuidgid clamav
|
||||
exec -c $CMD
|
Reference in New Issue
Block a user