diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-07-30 01:54:59 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-07-30 01:54:59 +0200 |
commit | 82659fd7571bda0f3dce9755b89a23c411d53dda (patch) | |
tree | 00ea49ad7be58cc9630f249ad8c7def09939daf7 /src/core/dbus-kill.h | |
parent | 5a4555ba6bc8ea086823fb71cb1cb92d4ec087a2 (diff) |
core: optionally send SIGHUP in addition to the configured kill signal
This is useful to fake session ends for processes like shells.
Diffstat (limited to 'src/core/dbus-kill.h')
-rw-r--r-- | src/core/dbus-kill.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/dbus-kill.h b/src/core/dbus-kill.h index 238fbd36d6..8c8bff5927 100644 --- a/src/core/dbus-kill.h +++ b/src/core/dbus-kill.h @@ -29,10 +29,8 @@ #define BUS_KILL_CONTEXT_INTERFACE \ " <property name=\"KillMode\" type=\"s\" access=\"read\"/>\n" \ " <property name=\"KillSignal\" type=\"i\" access=\"read\"/>\n" \ - " <property name=\"SendSIGKILL\" type=\"b\" access=\"read\"/>\n" - -#define BUS_KILL_COMMAND_INTERFACE(name) \ - " <property name=\"" name "\" type=\"a(sasbttuii)\" access=\"read\"/>\n" + " <property name=\"SendSIGKILL\" type=\"b\" access=\"read\"/>\n" \ + " <property name=\"SendSIGHUP\" type=\"b\" access=\"read\"/>\n" extern const BusProperty bus_kill_context_properties[]; |