Re: dh_systemd_enable and instances of unit-file templates
Andrej Shadura:
> Hi,
>
> On Sat, 6 Jul 2019 at 20:02, Konrad, Martin <konrad@frib.msu.edu> wrote:
>> I'm packaging a logging service for buster. Users typically only need to
>> run one instance but power users might want to run multiple instances.
>> This sounds like a perfect use case for systemd templates [1] to me.
>> However, I'm struggling to get my package to install + enable + start a
>> default instance (ioclogserver@default.service) of a service template
>> (ioclogserver@.service).
>
> <...>
>
>> I tried to encourage dh_systemd_enable to enable my template automatically:
>
> dh_systemd_enable has been deprecated,
> dh_installsystemd/dh_installsystemduser need to be used instead.
>
FYI dh_installsystemd does *not* handle templated unit files either (see
#889635).
I do not remember if dh_installsystemduser does off-hand and I did not
check.
Thanks,
~Niels
Reply to: