From 76420d9849e6832a52aa4c1ba1fd2895b7d51a08 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 6 Dec 2018 16:37:40 -0600 Subject: init.d/agetty: set default respawn period to 60 seconds Without a respawn period setting, the supervisor will give up on respawning agetty after it is respawned respawn_max times. For most daemons giving up like this is reasonable, but not for agettys. Agettys should always be respawned unless they are respawning too fafst,. If an agetty is respawning faster than 10 times in 60 seconds, this seems to be too fast. --- init.d/agetty.in | 1 + 1 file changed, 1 insertion(+) diff --git a/init.d/agetty.in b/init.d/agetty.in index 971ee86c..a9606bf2 100644 --- a/init.d/agetty.in +++ b/init.d/agetty.in @@ -12,6 +12,7 @@ description="start agetty on a terminal line" supervisor=supervise-daemon port="${RC_SVCNAME#*.}" +respawn_period="${respawn_period:-60}" term_type="${term_type:-linux}" command=/sbin/agetty command_args_foreground="${agetty_options} ${port} ${baud} ${term_type}" -- cgit v1.2.3