]> git.ipfire.org Git - thirdparty/systemd.git/commit
portable: Don't refuse copying out instance of template that exists 40427/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 16 Jan 2026 20:25:10 +0000 (21:25 +0100)
committerDaan De Meyer <daan@amutable.com>
Tue, 3 Feb 2026 14:03:51 +0000 (15:03 +0100)
commitae6dcaff0d952d5e3e1a31035cc7f32e6bafa5ad
tree04a11ac0a9b6568d5d039a021ab896c826eb1b62
parent4d388536ee51bb7a4ae33326a3d20cbe72c77744
portable: Don't refuse copying out instance of template that exists

There's no reason to refuse copying out capsule@abc.service even if
capsule@.service already exists on the host, so let's optionally not
search for templates if we can't find an instance when looking up
units and use it in portabled.
src/portable/portable.c
src/shared/install.c
src/shared/install.h
src/ssh-generator/ssh-generator.c