author | Olivier Brunel
<jjk@jjacky.com> 2018-01-25 14:21:18 UTC |
committer | Olivier Brunel
<jjk@jjacky.com> 2018-01-25 14:21:18 UTC |
parent | 9327ee50d48469c5c8ca04efbcd04bd7c3166234 |
src/scripts/aa-stage2 | +1 | -1 |
src/scripts/aa-stage4 | +1 | -1 |
diff --git a/src/scripts/aa-stage2 b/src/scripts/aa-stage2 index c9a3c1e..fae4934 100755 --- a/src/scripts/aa-stage2 +++ b/src/scripts/aa-stage2 @@ -48,7 +48,7 @@ importas -u LISTDIR LISTDIR # This is so Ctrl+C will trigger a SIGINT to aa-start, so one can manually # timeout a service. foreground { - emptyenv -c s6-setsid aa-ctty -O3 aa-start -O3 -l /etc/anopa/listdirs/${LISTDIR} + emptyenv -c s6-setsid aa-ctty -O3 -s aa-start -O3 -l /etc/anopa/listdirs/${LISTDIR} } if { aa-test -e /run/services/.anopa/post-start } importas -u RC ? emptyenv -c /run/services/.anopa/post-start $RC diff --git a/src/scripts/aa-stage4 b/src/scripts/aa-stage4 index a201e8d..3a7be35 100755 --- a/src/scripts/aa-stage4 +++ b/src/scripts/aa-stage4 @@ -25,7 +25,7 @@ foreground { aa-echo -B "Stage 4: Unmounting root file system..." } foreground { - foreground { emptyenv -c aa-stop -r /services -a } + foreground { emptyenv -c s6-setsid aa-ctty -O3 -s aa-stop -r /services -a } if { aa-test -e /services/.anopa/post-stop } importas -u RC ? emptyenv -c /services/.anopa/post-stop $RC }