summaryrefslogtreecommitdiff
path: root/examples/source/dns-cache/run
blob: b364c9700dc2168b042b4d17e4cb25f9adee144b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/command/execlineb -P
fdmove -c 2 1
s6-envuidgid dnscache
s6-envdir env
import ETH0_IP4
export IP ${ETH0_IP4}
s6-softlimit -m 4000000
pipeline -d
{
  redirfd -r 0 /dev/urandom
  s6-head -c 128
}
unexport LASTPID
dnscache