chiark / gitweb /
core: introduce new stop protocol for unit scopes
authorLennart Poettering <lennart@poettering.net>
Fri, 31 Jan 2014 16:45:13 +0000 (17:45 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 31 Jan 2014 16:48:36 +0000 (17:48 +0100)
commit2d4a39e759c4ab846ad8a546abeddd40bc8d736e
tree6076c82b7c28bc2f80570b72427cc27a2ed28357
parentfb818b2ea194ec182aa3e776d38883dc615910a1
core: introduce new stop protocol for unit scopes

By specifiy a Controller property when creating the scope a client can
specify a bus name that will be notified with a RequestStop bus signal
when the scope has been asked to shut down, instead of sending SIGTERM
to the scope processes themselves.

https://bugzilla.redhat.com/show_bug.cgi?id=1032695
src/core/dbus-scope.c
src/core/dbus-scope.h
src/core/scope.c
src/core/scope.h
src/run/run.c