On Mon, Oct 26, 2015 at 10:13 AM, kennedy <[email protected]> wrote:

> what's the relationship between the target file and the real executable
> file ?
>
> "local-fs-pre.target" ,"local-fs.target" will start which service (will
> execute which binary file) ?
>

None. They're .target units – their purpose is only to group other units.
But they don't necessarily depend on any .service unit at all – in fact
with local-fs*.target it's the opposite; *services* depend on these
targets, and the targets themselves only depend on mounts.

$ systemctl list-dependencies local-fs.target
local-fs.target
● ├─boot.mount
● ├─home.mount
● ├─tmp.mount
● └─var-lib-machines.mount

-- 
Mantas Mikulėnas <[email protected]>
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to