diff --git a/image/overlay/etc/init.d/auth-server b/image/overlay/etc/init.d/auth-server index d80abfb..8ede4d4 100755 --- a/image/overlay/etc/init.d/auth-server +++ b/image/overlay/etc/init.d/auth-server @@ -1,7 +1,9 @@ #!/sbin/openrc-run +supervisor="supervise-daemon" +respawn_max=0 +respawn_delay=5 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_args="-org _BUBBLE_AUTH_ORG_ -team _BUBBLE_AUTH_TEAM_ -gitea-url _BUBBLE_AUTH_GITEA_URL_" output_log="/data/auth-server.log" pidfile="/run/${RC_SVCNAME}.pid" diff --git a/image/overlay/etc/init.d/tsdns b/image/overlay/etc/init.d/tsdns index 5831fc1..beb019d 100755 --- a/image/overlay/etc/init.d/tsdns +++ b/image/overlay/etc/init.d/tsdns @@ -4,6 +4,9 @@ depend() { need docker net } +supervisor="supervise-daemon" +respawn_delay=5 +respawn_max=0 + command="/usr/bin/tsdns" -command_background=true pidfile="/run/${RC_SVCNAME}.pid"