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