projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch '12940-arvbox-runit' closes #12940
[arvados.git]
/
tools
/
arvbox
/
lib
/
arvbox
/
docker
/
runit
/
3
1
#!/bin/sh
2
exec 2>&1
3
4
PATH=/command:/sbin:/bin:/usr/sbin:/usr/bin
5
6
LAST=0
7
test -x /run/runit.reboot && LAST=6
8
9
echo 'Waiting for services to stop...'
10
sv -w196 force-stop /service/*
11
sv exit /service/*
12
13
echo 'Shutdown...'
14
/etc/init.d/rc $LAST