blob: 14a45383572a9dda40140563780f0066c157af91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
|