add supervisor for bubble

This commit is contained in:
iceBear67
2026-07-09 00:09:13 +08:00
parent be27cdba97
commit 6891fd8991
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -5,6 +5,7 @@ respawn_delay=5
command="/usr/bin/auth-server" command="/usr/bin/auth-server"
command_args="-org _BUBBLE_AUTH_ORG_ -team _BUBBLE_AUTH_TEAM_ -gitea-url _BUBBLE_AUTH_GITEA_URL_" command_args="-org _BUBBLE_AUTH_ORG_ -team _BUBBLE_AUTH_TEAM_ -gitea-url _BUBBLE_AUTH_GITEA_URL_"
output_log="/data/auth-server.log" output_log="/data/auth-server.log"
error_log="/data/auth-server.err"
pidfile="/run/${RC_SVCNAME}.pid" pidfile="/run/${RC_SVCNAME}.pid"
+4 -1
View File
@@ -4,8 +4,11 @@ depend() {
need docker tsdns need docker tsdns
} }
supervisor="supervise-daemon"
restart_max=5
restart_delay=10
command="/usr/bin/bubble" command="/usr/bin/bubble"
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"
command_background=true
output_log="/data/bubble.log" output_log="/data/bubble.log"
error_log="/data/bubble.err"