Files
bearnet/image/overlay/etc/init.d/bubble
T

18 lines
326 B
Plaintext
Executable File

#!/sbin/openrc-run
depend() {
need docker tsdns
}
start_pre() {
until docker pull git.sfclub.cc/cloud/workspace-image:latest; do
sleep 10
done
}
command="/usr/bin/bubble"
command_args="-config /daemon/config.yaml 2>&1"
pidfile="/run/${RC_SVCNAME}.pid"
command_background=true
output_log="/data/bubble.log"