diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-05-05 06:29:50 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-05-05 06:29:50 +0000 |
| commit | e18d6958b2470a2e68cc637945ccf3a1dae5c0a2 (patch) | |
| tree | 90e065e7b7422c2f2dbd5d924dfcd14a2866de39 /examples/source/dns-cache/run | |
| parent | 09ccd3128f2296d3a0cd1602e64caf06cf22c64f (diff) | |
| download | s6-rc-e18d6958b2470a2e68cc637945ccf3a1dae5c0a2.tar.gz | |
Update examples
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'examples/source/dns-cache/run')
| -rwxr-xr-x | examples/source/dns-cache/run | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/source/dns-cache/run b/examples/source/dns-cache/run index 8aa7e3b..086002f 100755 --- a/examples/source/dns-cache/run +++ b/examples/source/dns-cache/run @@ -1,8 +1,9 @@ #!/command/execlineb -P fdmove -c 2 1 s6-envuidgid dnscache +s6-envdir /etc/env-network s6-envdir env -importas ETH0_IP4 ETH0_IP4 +importas -u ETH0_IP4 ETH0_IP4 export IP ${ETH0_IP4} s6-softlimit -m 4000000 pipeline -d @@ -10,5 +11,5 @@ pipeline -d redirfd -r 0 /dev/urandom s6-head -c 128 } -unexport LASTPID +unexport ! dnscache |
