From 82659fd7571bda0f3dce9755b89a23c411d53dda Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 30 Jul 2013 01:54:59 +0200 Subject: core: optionally send SIGHUP in addition to the configured kill signal This is useful to fake session ends for processes like shells. --- src/core/dbus-kill.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/dbus-kill.c') diff --git a/src/core/dbus-kill.c b/src/core/dbus-kill.c index 165f63074b..e970ea329c 100644 --- a/src/core/dbus-kill.c +++ b/src/core/dbus-kill.c @@ -31,5 +31,6 @@ const BusProperty bus_kill_context_properties[] = { { "KillMode", bus_kill_append_mode, "s", offsetof(KillContext, kill_mode) }, { "KillSignal", bus_property_append_int, "i", offsetof(KillContext, kill_signal) }, { "SendSIGKILL", bus_property_append_bool, "b", offsetof(KillContext, send_sigkill) }, + { "SendSIGHUP", bus_property_append_bool, "b", offsetof(KillContext, send_sighup) }, { NULL, } }; -- cgit v1.2.3-54-g00ecf