Files
bearnet/image/overlay/etc/init.d/auth-server
2026-07-05 15:37:09 +08:00

13 lines
312 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"
command_env="GITEA_TOKEN=$GITEA_TOKEN"
output_log="/data/auth-server.log"
pidfile="/run/${RC_SVCNAME}.pid"
depend() {
need net
}