chiark / gitweb /
systemd: do not remove empty paths from unit lookup path
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 7 Feb 2013 03:49:19 +0000 (22:49 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 7 Feb 2013 04:16:16 +0000 (23:16 -0500)
commit874310b7b68c4c0d36ff07397db30a959bb7dae5
tree751b1bb5db5c3ad7c60b199476b47e44e326bf46
parent56ba3c78ae35065064c4289a0c8e22a81256af20
systemd: do not remove empty paths from unit lookup path

The ability to start a new unit with 'systemctl start ...' should not
depend on whether there are other units in the directory. Previously,
an additional 'systemctl daemon-reload' would be necessary to tell
systemd to update the list of unit lookup paths.
src/core/manager.c
src/shared/path-lookup.c
src/shared/path-util.c