How to add a unit path to systemd?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I want to append to systemd's unit search path a directory on my OEM
partition, which is mounted  by a .mount unit, at /usr/share/. I will be
putting unit files in that partition, some of which I want to run before
default.target. Is it possible to do so without a systemctl daemon-reload?

I understand I could configure systemd at compile time, or use
the SYSTEMD_UNIT_PATH env var at the kernel command line, but since
/usr/share/ is probably mounted _after_ default.target is first referenced
(?), they won't do what I need?

-- 
Best,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180809/018568bf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4849 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180809/018568bf/attachment.bin>


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux