diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-05-09 19:28:41 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-05-09 19:28:41 +0000 |
| commit | b2bf6be4171f38c77365e3c5ca93a7a2b4e66418 (patch) | |
| tree | e8f1324a91cf047f85b19cc05f094fa9b879a81c /examples/source-router/ntpclient/run | |
| parent | 5f67e3fe69a1858054711ac01521de327bf12b9c (diff) | |
| download | s6-rc-b2bf6be4171f38c77365e3c5ca93a7a2b4e66418.tar.gz | |
version: 0.6.1.1v0.6.1.1
Diffstat (limited to 'examples/source-router/ntpclient/run')
| -rwxr-xr-x | examples/source-router/ntpclient/run | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/source-router/ntpclient/run b/examples/source-router/ntpclient/run index 8ded1c1..124bfc2 100755 --- a/examples/source-router/ntpclient/run +++ b/examples/source-router/ntpclient/run @@ -11,8 +11,7 @@ fdmove -c 2 1 pipeline { s6-setuidgid nobody - forx -p I { 0 1 2 } - importas -u I I + forx -Ep I { 0 1 2 } s6-dnsip4 -t 30000 -- ${I}.fr.pool.ntp.org } importas -u p1 ! @@ -25,8 +24,7 @@ importas -u p1 ! pipeline { s6-setuidgid ntp - forstdin -p -d"\n" NTPSERVERIP - importas -u NTPSERVERIP NTPSERVERIP + forstdin -Ep -d"\n" NTPSERVERIP s6-sntpclock -T 5000 ${NTPSERVERIP} } importas -u p2 ! |
