X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fgetty%40.service.m4;h=4691ea7bfe3439ad68667889f6f80d2315262376;hp=8df77c701c57832bcf211d6958ad5b32476b652a;hb=abe35cc2b7921891cc56cd8d402e8f7d1ef48d39;hpb=525ee6f4a1639bcb28198bf9e32b93ca2bfd268b diff --git a/units/getty@.service.m4 b/units/getty@.service.m4 index 8df77c701..4691ea7bf 100644 --- a/units/getty@.service.m4 +++ b/units/getty@.service.m4 @@ -22,10 +22,9 @@ m4_ifdef(`TARGET_ARCH', After=rc-local.service )m4_dnl -# If additional gettys are spawned during boot (possibly by -# systemd-auto-console-getty) then we should make sure that this is -# synchronized before getty.target, even though getty.target didn't -# actually pull it in. +# If additional gettys are spawned during boot then we should make +# sure that this is synchronized before getty.target, even though +# getty.target didn't actually pull it in. Before=getty.target [Service] @@ -33,6 +32,7 @@ Environment=TERM=linux ExecStart=-GETTY %I Restart=always RestartSec=0 +UtmpIdentifier=%I KillMode=process-group # Some login implementations ignore SIGTERM, so we send SIGHUP