I'm not sure this could be patch for below TODO.

* enabling an instance unit creates a pointless link, and
  the unit will be started with getty@getty.service:
    $ systemctl enable getty@.service
    ln -s '/usr/lib/systemd/system/getty@.service' 
'/etc/systemd/system/getty.target.wants/getty@.service'

If can be, when this can be used?
And I couldn't avoid one of strdup in manager_load_unit_prepare(). And
I wasn't able to make a suit name better than instanceless.

WaLyong Cho (1):
  unit: make unit can start without instance

 src/core/manager.c     | 10 ++++++----
 src/shared/unit-name.c | 12 ++++++++++++
 src/shared/unit-name.h |  1 +
 3 files changed, 19 insertions(+), 4 deletions(-)

-- 
1.9.3

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to