[systemd-devel] Is it possible to load unit files from paths other than default paths ?

Andrei Borzenkov arvidjaar at gmail.com
Tue Sep 27 03:33:40 UTC 2016


27.09.2016 05:10, Kai Krakow пишет:
> Am Mon, 26 Sep 2016 14:30:37 +0530
> schrieb "Raghavendra. H. R" <raghuhr84 at gmail.com>:
> 
>> Andrei,
>>
>> How to set SYSTEMD_UNIT_PATH in Systemd ?
> 
> Maybe try "systemctl set-environment"? You may need to run "systemctl
> daemon-reload" after this for the new unit files to pick up.
> 

No, that does not work. It was already discussed previously. This is
environment for services that are started by systemd, while you need to
set it before starting systemd. This is challenging for something that
runs as the very first process ever ... :)



More information about the systemd-devel mailing list