]> code.ossystems Code Review - openembedded-core.git/commit
systemd-systemctl: add handling of template unit files
authorTomas Novotny <tomas@novotny.cz>
Fri, 12 Dec 2014 15:50:51 +0000 (16:50 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Dec 2014 17:54:14 +0000 (17:54 +0000)
commit90904ef3bab182a46174f7bb60e83f0f22a3f209
treec33f1a27030588a3ffc8d0865d48f71b335030e3
parent97f46c97c7f8a39f3691aee423b4192680d114a0
systemd-systemctl: add handling of template unit files

Template unit files (those with '@' in their names) are not handled with
native version of systemctl. This is usually not a problem, as the
native systemctl fails and systemctl command is executed during first
boot. But some early boot template units may fail during first boot
because opkg configure for first boot is pulled too late for them
(although I encouter it only with some of my services, not with oe-core
ones).

Handling of template unit files is same as in original systemctl. Also
DefaultInstance directive in template is respected. As with original
systemctl, enabling of template without instance and DefaultInstance
does nothing.

Signed-off-by: Tomas Novotny <tomas@novotny.cz>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/systemd/systemd-systemctl/systemctl