dot

packages and services management
Log | Files | Refs | README

commit 5e85f96687db494028790a6cb2e4a61eee439844
parent 8b3387df52a258b622c8a7f3fb123ff78dee74be
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat, 17 Nov 2018 19:22:31 +0100

debugging tinydns

Diffstat:
Mbin/service-enable | 9++++-----
Ms6/tinydns/x/env/ROOT | 2+-
As6/tinydns/x/env/USER | 1+
3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/bin/service-enable b/bin/service-enable @@ -9,13 +9,12 @@ if { export 1 x forbacktickx -n x { dollarat } importas x x s6-hiercopy /etc/s6/${base}/${x} $name } -cd $name if { test -f setup } ./setup +if { cd $name if { test -f setup } ./setup } if { grep -qFx longrun /etc/s6/${base}/x/type } if { s6-hiercopy /etc/s6/.s6-rc/service-log ${name}-log } -if { redirfd -w 1 ${name}/producer-for echo ${name}-log } +if { redirfd -a 1 ${name}/producer-for echo ${name}-log } if { redirfd -w 1 ${name}-log/consumer-for echo ${name} } if { redirfd -w 1 ${name}-log/env/SERVICE echo ${name} } -if { pipeline { printf "%s\n" ${name} ${name}-log } - sort -u -o ok-all/contents ok-all/contents - -} +pipeline { printf "%s\n" ${name} ${name}-log } +sort -u -o ok-all/contents ok-all/contents - diff --git a/s6/tinydns/x/env/ROOT b/s6/tinydns/x/env/ROOT @@ -1 +1 @@ -./data/ +data diff --git a/s6/tinydns/x/env/USER b/s6/tinydns/x/env/USER @@ -0,0 +1 @@ +dns