diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-01-31 17:45:13 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-01-31 17:48:36 +0100 |
commit | 2d4a39e759c4ab846ad8a546abeddd40bc8d736e (patch) | |
tree | 6076c82b7c28bc2f80570b72427cc27a2ed28357 /src/core/scope.h | |
parent | fb818b2ea194ec182aa3e776d38883dc615910a1 (diff) |
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
Diffstat (limited to 'src/core/scope.h')
-rw-r--r-- | src/core/scope.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/scope.h b/src/core/scope.h index 4d8a1714bc..014b50c765 100644 --- a/src/core/scope.h +++ b/src/core/scope.h @@ -55,6 +55,8 @@ struct Scope { usec_t timeout_stop_usec; + char *controller; + Set *pids; sd_event_source *timer_event_source; |