On Mon, 09.01.12 23:26, "Jóhann B. Guðmundsson" ([email protected]) wrote:

> >ReloadRequest: httpd.service
> >
> >Then anyone asking to reload the httpd.service would also cause the
> >httpd_sandbox.service to get the reload.
> 
> Hum should that not happen automatically when you BindTo a unit as
> in if you automatically start/reload/restart/stop an bound unit it
> would also start/reload/restart/stop the unit(s) it's bound to.

No, reload is not propagated like this. The idea is basically that
"bindto" means that under no circumstances the binding unit shall run
without the bound to unit. A corollary of that is that if you stop or
restart the bound to unit (restart just meaning stop followed by start
here), then as a result of the first rule the binding unit must be
restarted too. But for reloading nothing like this really applies.

So yeah, I agree with Dan here, that a new dep type that allows
specifying services to automatically propagate reload requests to makes
a ton of sense.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to