commit 249328dcb1ef74d140cd2570931dc37abebdbaab
parent 139e3d56bef8263bd7d422e446ac6742f2b04d52
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Tue, 15 Nov 2022 13:09:30 +0100
Fix notification fd redirection from pipeline
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/install b/install
@@ -45,6 +45,7 @@ $qc/if {
$qc/if -Xnt { $qc/s6-test -d /run/service/.s6-svscan }
$q_all/init/scripts/populate-run
}
+
$qc/pipeline -w
{
$qc/foreground { head -n 1 }
@@ -53,6 +54,9 @@ $qc/pipeline -w
$qc/if -Xnt { $qc/s6-test -f /run/s6-rc/state }
$q_all/init/scripts/rc.init ok-all
}
+$qc/fdmove -c 3 1
+$qc/fdmove -c 1 2
+
$qc/unexport !
$qc/cd /run/service
$qc/s6-svscan -t0 -d3 /run/service