diff --git a/image/overlay/etc/init.d/auth-server b/image/overlay/etc/init.d/auth-server index 8ede4d4..4d2a803 100755 --- a/image/overlay/etc/init.d/auth-server +++ b/image/overlay/etc/init.d/auth-server @@ -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" diff --git a/image/overlay/etc/init.d/bubble b/image/overlay/etc/init.d/bubble index 49ad1d6..83222c4 100755 --- a/image/overlay/etc/init.d/bubble +++ b/image/overlay/etc/init.d/bubble @@ -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" \ No newline at end of file