Files
bearnet/image/overlay/etc/init.d/auth-server
2026-07-05 21:12:56 +08:00

18 lines
361 B
Plaintext
Executable File

#!/sbin/openrc-run
command="/usr/bin/auth-server"
command_background=true
command_args="-org _BUBBLE_AUTH_ORG_ -team _BUBBLE_AUTH_TEAM_ -gitea-url _BUBBLE_AUTH_GITEA_URL_ 2>&1"
output_log="/data/auth-server.log"
pidfile="/run/${RC_SVCNAME}.pid"
depend() {
need net
}
start_pre() {
while ! ip route | grep -q '^default'; do
sleep 1
done
}