[systemd-devel] target file and executable file relationship doubt
Mantas Mikulėnas
grawity at gmail.com
Mon Oct 26 01:42:03 PDT 2015
On Mon, Oct 26, 2015 at 10:13 AM, kennedy <kennedyhan at 163.com> 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 <grawity at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20151026/842bdfc8/attachment.html>
More information about the systemd-devel
mailing list