bubble: must wait for docker network initialization
This commit is contained in:
@@ -5,9 +5,9 @@ depend() {
|
||||
}
|
||||
|
||||
supervisor="supervise-daemon"
|
||||
restart_max=5
|
||||
restart_max=20
|
||||
restart_delay=10
|
||||
command="/usr/bin/bubble"
|
||||
command="/usr/bin/bubble-wrapper"
|
||||
command_args="-config /daemon/config.yaml 2>&1"
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
output_log="/data/bubble.log"
|
||||
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
if ! docker network inspect "workspace" ; then
|
||||
sleep 1s;
|
||||
exit 0
|
||||
fi
|
||||
|
||||
/usr/bin/bubble "$@"
|
||||
Reference in New Issue
Block a user