Ingress: Update sleep function to not require dumb-init
This PS updates the sleep function to not require dumb-init to be present in images. Change-Id: I9ee7270f2c101a3a85b2aecd01097a70014ea4a6 Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
parent
ddb95379a4
commit
337ac99234
@ -38,7 +38,7 @@ function start () {
|
||||
}
|
||||
|
||||
function sleep () {
|
||||
exec /usr/bin/dumb-init bash -c "while :; do sleep 2073600; done"
|
||||
exec bash -c "while :; do sleep 2073600; done"
|
||||
}
|
||||
|
||||
function stop () {
|
||||
|
Loading…
Reference in New Issue
Block a user