logind: terminate cleanly on SIGTERM/SIGINT
authorLennart Poettering <lennart@poettering.net>
Tue, 24 Apr 2018 16:14:25 +0000 (18:14 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 27 Apr 2018 16:11:13 +0000 (18:11 +0200)
commitfcfa765d189f4a9b0e30aa448cf0cd3d41a6a2a6
tree1450b3780d1c84144c39d5a92fa6f41dc977ef03
parent234621685353763ac3bea63a916df757bf06a8a6
logind: terminate cleanly on SIGTERM/SIGINT

Let's properly terminate on SIGTERM or SIGINT. Previously we'd just rely
on the implicit process clean-up logic on UNIX. By shutting down
properly on SIGTERM/SIGINT we make it easier to track down memory leaks
by employing valgrind.
src/login/logind.c