[systemd-devel] local-fs and remote-fs targets / passive active units

Andrei Borzenkov arvidjaar at gmail.com
Tue May 5 17:41:47 UTC 2020


05.05.2020 18:15, Thomas HUMMEL пишет:
> On 4/28/20 5:36 PM, Thomas HUMMEL wrote:
> 
>> 3) regarding local-fs dans remote-fs targets : I'm not really sure if
>> any fits in either passive or active units.
> 
> Hello again,
> 
> regarding local-fs.target : is it legit for a custom service unit to
> pull it in with a Before=local-fs.target (no Wants or Requires) ?
> 

a) Before= does not pull anything anywhere.
b) as you already found, by default every service is ordered after
local-fs.target. You need DefalutDependencies=no if you want to start
your service that early.


More information about the systemd-devel mailing list