#!/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
}
