On Sun, 17.05.15 10:06, Igor Bukanov (i...@mir2.org) wrote:

> Hello,
> 
> suppose a unit B runs just because another unit A contains Requires=B and
> After=B. When B runs, it changes A like adding new dependencies, altering
> Exec command etc and then B calls systemctl daemon-reload. Then the systemd
> uses the new definition for A, right?
> 
> In particular, if according to the new configuration A should not run at
> all because B changed the systemd configuration so A is no longer required
> by any units, then systemd does not run A, right?

No, what is queued is queued. A daemon-reload should leave the execution
queue unmodified, neither remove nor add new entries.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to