add supervisor for bubble
This commit is contained in:
@@ -5,6 +5,7 @@ respawn_delay=5
|
||||
command="/usr/bin/auth-server"
|
||||
command_args="-org _BUBBLE_AUTH_ORG_ -team _BUBBLE_AUTH_TEAM_ -gitea-url _BUBBLE_AUTH_GITEA_URL_"
|
||||
output_log="/data/auth-server.log"
|
||||
error_log="/data/auth-server.err"
|
||||
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
|
||||
|
||||
@@ -4,8 +4,11 @@ depend() {
|
||||
need docker tsdns
|
||||
}
|
||||
|
||||
supervisor="supervise-daemon"
|
||||
restart_max=5
|
||||
restart_delay=10
|
||||
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"
|
||||
error_log="/data/bubble.err"
|
||||
Reference in New Issue
Block a user