]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: console-getty.service: use the default RestartSec 6579/head
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 8b6a4aba24ef857cc0a9bd9d8bb17fe25c36636f..4b9165b70d33c1a6a1f9a8eb7fef60dfd06ab65c 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