diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-08 16:06:23 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-08 16:07:50 +0200 |
commit | 169c1bda807d183a362b47efe0b5b56e9320e430 (patch) | |
tree | 9fb56b5009f9842de0364e2fa598598e58e7f0e5 /units/getty@.service.m4 | |
parent | 926e43013353ed8bee614a3dc35dd0da69cdc59f (diff) |
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
Diffstat (limited to 'units/getty@.service.m4')
-rw-r--r-- | units/getty@.service.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
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 |