bubble: must wait for docker network initialization
This commit is contained in:
@@ -5,10 +5,10 @@ depend() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
supervisor="supervise-daemon"
|
supervisor="supervise-daemon"
|
||||||
restart_max=5
|
restart_max=20
|
||||||
restart_delay=10
|
restart_delay=10
|
||||||
command="/usr/bin/bubble"
|
command="/usr/bin/bubble-wrapper"
|
||||||
command_args="-config /daemon/config.yaml 2>&1"
|
command_args="-config /daemon/config.yaml 2>&1"
|
||||||
pidfile="/run/${RC_SVCNAME}.pid"
|
pidfile="/run/${RC_SVCNAME}.pid"
|
||||||
output_log="/data/bubble.log"
|
output_log="/data/bubble.log"
|
||||||
error_log="/data/bubble.err"
|
error_log="/data/bubble.err"
|
||||||
|
|||||||
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