parent
d3f447dce4
commit
4696d140aa
2 changed files with 2 additions and 16 deletions
|
@ -17,14 +17,7 @@ ifelse -n { install -d -o "${USER}" -g "${GROUP}" -m "${MODE}" "$DIR" } {
|
|||
false
|
||||
}
|
||||
|
||||
ifelse -n { fdmove 1 3 echo } {
|
||||
foreground { fdmove -c 1 2 echo "bhyve-${NAME}-log: Failed to signal readiness." }
|
||||
false
|
||||
}
|
||||
|
||||
foreground { fdmove -c 1 2 echo "bhyve-${NAME}-log: Ready." }
|
||||
|
||||
fdmove -c 2 1
|
||||
|
||||
s6-envuidgid $USER
|
||||
s6-log T $DIR
|
||||
s6-log -d 3 T $DIR
|
||||
|
|
|
@ -17,14 +17,7 @@ ifelse -n { install -d -o "${USER}" -g "${GROUP}" -m "${MODE}" "$DIR" } {
|
|||
false
|
||||
}
|
||||
|
||||
ifelse -n { fdmove 1 3 echo } {
|
||||
foreground { fdmove -c 1 2 echo "${NAME} log: Failed to signal readiness." }
|
||||
false
|
||||
}
|
||||
|
||||
foreground { fdmove -c 1 2 echo "${NAME} log: Ready." }
|
||||
|
||||
fdmove -c 2 1
|
||||
|
||||
s6-envuidgid $USER
|
||||
s6-log T $DIR
|
||||
s6-log -d 3 T $DIR
|
||||
|
|
Loading…
Reference in a new issue