On 7/18/21 4:34 PM, Nilesh Patra wrote:
>
>
> Hi Alex,
>
> On 18 July 2021 4:10:24 pm IST, Alex David <flu0r1ne@flu0r1ne.net> wrote:
>> Hi Nilesh,
>>
>>> On 7/18/21 5:09 AM, Nilesh Patra wrote:
>>> Thanks, I uploaded this.
>>
>> Great.
>>
>>> I was going to upload nebula too, but it seems that the "templated"
>> systemd service file is being installed in lib/ -- is that really
>> intended?
>>
>>
>> Interesting. I think packages are supposed to install into
>> /usr/lib/systemd/system so that the unit can be overridden by the user
>> in /etc/systemd/system.
>>
>>
>> I didn't explicitly choose that install location -- I let dh use the
>> default location.
>
> Yeah, dh-installsystemd did this here
>
>> lib is a soft link to usr/lib anyway so it shouldn't
>> matter. From what I've read, older versions of Debian search both
>> /usr/lib/systemd/system and /lib/systemd/system for package-installed
>> systemd units. But, that's pre /usr merge.
>>
>
> That is true,
^^^^^^^^
Looks like that's not the case either and I was mistaken. From
$ man systemd.unit
I see:
System Unit Search Path
/etc/systemd/system.control/*
/run/systemd/system.control/*
/run/systemd/transient/*
/run/systemd/generator.early/*
/etc/systemd/system/*
/etc/systemd/systemd.attached/*
/run/systemd/system/*
/run/systemd/systemd.attached/*
/run/systemd/generator/*
...
/lib/systemd/system/*
/run/systemd/generator.late/*
Attachment:
signature.asc
Description: OpenPGP digital signature