[systemd-devel] [PATCH] Propagate reload from RELOADING=1 notifications
Lennart Poettering
lennart at poettering.net
Mon Feb 2 16:28:19 PST 2015
On Tue, 30.12.14 20:22, Jouke Witteveen (j.witteveen at gmail.com) wrote:
Hmm, what happened to this patch? Did you ever resend it with the
commit msg fix Zbigniew suggested? I don't see it in the mail
archives?
> ---
>
> This fixes #87251
>
> src/core/manager.c | 42 ++++++++++++++++++++++++++++++++++++++++++
> src/core/manager.h | 1 +
> src/core/service.c | 7 +++++++
> 3 files changed, 50 insertions(+)
>
> diff --git a/src/core/manager.c b/src/core/manager.c
> index 9705e64..11cca17 100644
> --- a/src/core/manager.c
> +++ b/src/core/manager.c
> @@ -1226,6 +1226,48 @@ int manager_add_job_by_name(Manager *m, JobType type, const char *name, JobMode
> return manager_add_job(m, type, unit, mode, override, e, _ret);
> }
>
> +int manager_propagate_reload(Manager *m, Unit *unit, JobMode mode, bool override, sd_bus_error *e) {
> + int r;
> + Transaction *tr;
> + Iterator i;
> + Unit *dep;
> +
> +
Spurious newline...
Otherwise looks great!
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list