From 169c1bda807d183a362b47efe0b5b56e9320e430 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 8 Oct 2010 16:06:23 +0200 Subject: service: optionally, create INIT_PROCESS/DEAD_PROCESS entries for a service This should fix accounting for pam_limits and suchlike. https://bugzilla.redhat.com/show_bug.cgi?id=636036 --- units/getty@.service.m4 | 1 + 1 file changed, 1 insertion(+) (limited to 'units') diff --git a/units/getty@.service.m4 b/units/getty@.service.m4 index 8df77c701c..be5916a155 100644 --- a/units/getty@.service.m4 +++ b/units/getty@.service.m4 @@ -33,6 +33,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 -- cgit v1.2.3-54-g00ecf