units: console-getty.service: use the default RestartSec
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Wed, 9 Aug 2017 17:56:26 +0000 (18:56 +0100)
committerAlan Jenkins <alan.christopher.jenkins@gmail.com>
Wed, 9 Aug 2017 17:56:26 +0000 (18:56 +0100)
> Note that console-getty.service as more uses than just containers. The
> idea is that it may be used as alternative to the whole VC/logind stuff,
> if all you need is a console on /dev/console, even on physical devices.

This means we want to remove RestartSec=0, for serial systems.
See 4bf0432 "units/serial-getty@.service: use the default RestartSec".

units/console-getty.service.m4.in

index 8b6a4ab..4b9165b 100644 (file)
@@ -24,7 +24,6 @@ ConditionPathExists=/dev/console
 ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear --keep-baud console 115200,38400,9600 $TERM
 Type=idle
 Restart=always
-RestartSec=0
 UtmpIdentifier=cons
 TTYPath=/dev/console
 TTYReset=yes