chiark / gitweb /
logind: terminate cleanly on SIGTERM/SIGINT
authorLennart Poettering <lennart@poettering.net>
Tue, 24 Apr 2018 16:14:25 +0000 (18:14 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commit9b3847c976625d0f60e513f762468de2443a2459
tree46c051493f3953ead156ee9cfc4a2603bd7f5282
parente3ef5e1e1e4269e9f9f02f73778db58a83a626fb
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