]> git.ipfire.org Git - thirdparty/systemd.git/commit
install: when enabling a template unit without DefaultInstance= nor specified instanc... 10954/head
authorLennart Poettering <lennart@poettering.net>
Tue, 27 Nov 2018 12:50:37 +0000 (13:50 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 28 Nov 2018 07:43:47 +0000 (08:43 +0100)
commite4086ae0b323cb17eacd7ed60ff5782f87baa4f2
tree9cc454f50b52ba8a0cd741ddfb4b5f8cac458404
parentd23aeead14eda5a70d599dcc37bcd4b2ebea7579
install: when enabling a template unit without DefaultInstance= nor specified instance don't do anything

Previously, we'd link the unit file into /etc in this case, but that
should only be done if the unit file is not in the search path anyway,
and this is already done implicitly anyway for all enabled unit files,
hence no reason to duplicate this here.

Fixes: #10253
src/shared/install.c