missing file in s6-rc-up-tree test fixture
This commit is contained in:
parent
34f37d60d9
commit
283c3154a7
@ -1,24 +0,0 @@
|
||||
service=$1
|
||||
|
||||
blocks=""
|
||||
for controlled in $(cd /run/services/controlled/ && echo *); do
|
||||
down=$(s6-rc -b -un0 change $controlled)
|
||||
echo $controlled $down
|
||||
if test -n "$down"; then
|
||||
blocks="$blocks $controlled "
|
||||
fi
|
||||
done
|
||||
|
||||
for s in $(s6-rc-db -d all-dependencies $service); do
|
||||
for dep in $(s6-rc-db all-dependencies $s); do
|
||||
case "$blocks" in
|
||||
"* $dep *")
|
||||
echo "not starting $s, blocked by $dep"
|
||||
;;
|
||||
*)
|
||||
echo "starting $s because $service"
|
||||
s6-rc -b -u change $s
|
||||
;;
|
||||
esac
|
||||
done
|
||||
done
|
0
pkgs/s6-rc-up-tree/test-services/atz
Normal file
0
pkgs/s6-rc-up-tree/test-services/atz
Normal file
Loading…
Reference in New Issue
Block a user