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/00/up | |
| parent | 09ccd3128f2296d3a0cd1602e64caf06cf22c64f (diff) | |
| download | s6-rc-e18d6958b2470a2e68cc637945ccf3a1dae5c0a2.tar.gz | |
Update examples
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'examples/source/00/up')
| -rw-r--r-- | examples/source/00/up | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/source/00/up b/examples/source/00/up index b0b010a..b86cc75 100644 --- a/examples/source/00/up +++ b/examples/source/00/up @@ -1,2 +1,4 @@ if { s6-echo "init-stage2 starting." } -s6-hostname foo.example.com +if { s6-clock @40000000681859f30cfd4561 } +backtick -E hostname { redirfd -r 0 /etc/hostname s6-cat } +s6-hostname $hostname |
