summaryrefslogtreecommitdiff
path: root/src/test/test-socket-util.c
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-07-15 18:28:10 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-15 23:51:10 -0400
commit4bf04322b8b7ecca4f3d65cfc642d0ac16356129 (patch)
tree13c7e315b117db5895818d508a9b737db8119af7 /src/test/test-socket-util.c
parent4e0296a943e85316ecce0324248f9543887b8a9a (diff)
units/serial-getty@.service: use the default RestartSec
For pluggable ttys such as USB serial devices, the getty is restarted and exits in a loop until the remove event reaches systemd. Under certain circumstances the restart loop can overload the system in a way that prevents the remove event from reaching systemd for a long time (e.g. at least several minutes on a small embedded system). Use the default RestartSec to prevent the restart loop from overloading the system. Serial gettys are interactive units, so waiting an extra 100ms really doesn't make a difference anyways compared to the time it takes the user to log in.
Diffstat (limited to 'src/test/test-socket-util.c')
0 files changed, 0 insertions, 0 deletions