dot

packages and services management
Log | Files | Refs | README

commit 7e9f4ca58a103b523265dc2af5f1137c9f9f69cc
parent abcdbc70d42d25539417c07ca364af146c47e1e4
Author: Josuah Demangeon <mail@josuah.net>
Date:   Mon, 20 Aug 2018 21:19:20 +0200

init: fixing paths

Diffstat:
Minit | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/init b/init @@ -9,7 +9,7 @@ if { s6-ln -sf /var/s6/init/s6-svscan-log /var/s6/init/.s6-svscan /run/s6 } background { # wait until s6-svscan starts - redirfd -w 1 /var/s6/s6-svscan-log/fifo + redirfd -w 1 /var/s6/init/s6-svscan-log/fifo s6-setsid -- fdmove -c 1 2 @@ -19,11 +19,10 @@ background if { s6-rc-compile /var/s6/compiled${t} /var/s6/source } if { s6-rc-init -c /var/s6/compiled${t} -l /var/s6/live /run/s6 } if { s6-ln -nsf /var/s6/compiled${t} /var/s6/compiled } - if { elglob s6-rmrf /run/s6/*/down } } cd /var/s6 redirfd -r 0 /dev/null -redirfd -wnb 1 /var/s6/s6-svscan-log/fifo +redirfd -wnb 1 /var/s6/init/s6-svscan-log/fifo fdmove -c 2 1 s6-svscan -t0 /run/s6