summaryrefslogtreecommitdiff
path: root/examples/source/dns-cache/run
blob: 8aa7e3b32227001818c6dea0342f9f198fb137c3 (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
importas ETH0_IP4 ETH0_IP4
export IP ${ETH0_IP4}
s6-softlimit -m 4000000
pipeline -d
{
  redirfd -r 0 /dev/urandom
  s6-head -c 128
}
unexport LASTPID
dnscache