Why not enable templated units?

Ryan Kuester rkuester at insymbols.com
Thu Oct 2 00:23:07 BST 2014


Hi all,

dh_systemd_enable in package init-system-helpers skips enabling
templated unit files (i.e., those with a "@" in their name), saying it's
not useful to do so [1]. Is that really true?

I'm finding it useful in a templated service unit which declares a
WantedBy to another templated service unit. 'systemctl enable $service'
happily installs the expected symlink, and this construction causes both
services to be instantiated with the instance name substituted.

Can the skip of templated unit files be removed?

Thanks for your work on systemd.

-- Ryan

1. http://anonscm.debian.org/cgit/collab-maint/init-system-helpers.git/tree/script/dh_systemd_enable?id=a7b24eb670d19b4aaf1954b10e60e9149e6766a5#n205




More information about the Pkg-systemd-maintainers mailing list