chiark / gitweb /
service: optionally, create INIT_PROCESS/DEAD_PROCESS entries for a service
[elogind.git] / units / getty@.service.m4
index 01343c497fe277614551b7ab0b4929dfb07d6fe2..be5916a155e4dfafaf58f665c4217bccfd8fb421 100644 (file)
@@ -30,9 +30,10 @@ Before=getty.target
 
 [Service]
 Environment=TERM=linux
-ExecStart=GETTY %I
-Restart=restart-always
+ExecStart=-GETTY %I
+Restart=always
 RestartSec=0
+UtmpIdentifier=%I
 KillMode=process-group
 
 # Some login implementations ignore SIGTERM, so we send SIGHUP