On 06/25/2014 06:22 AM, Zbigniew Jędrzejewski-Szmek wrote:
On Wed, May 28, 2014 at 12:39:17AM +0900, WaLyong Cho wrote:
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.
For the record, this is obsoleted by

commit d54c4993699f4fa5feece43715aac3564c4dada6
Author: Lennart Poettering <lenn...@poettering.net>
Date:   Tue Jun 17 00:15:31 2014 +0200

     install: introduce new DefaultInstance= field for [Install] sections


Looks more good better than me.
I think the TODO item could be removed. ;)

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

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

Reply via email to