跳转到主要内容

systemd-machine-tags.service

systemd

systemd-machine-tags.service

8

systemd-machine-tags.service

Apply the machine tags configuration at boot

systemd-machine-tags.service

Description

systemd-machine-tags.service is an early boot service that applies the machine tag configuration declared in the machine-tags.d/ directories, see machine-tags.d(5), by invoking hostnamectl tags --apply, see hostnamectl(1). The additions and removals declared there are applied on top of the tags already configured in the TAGS= field of machine-info(5).

The service is ordered before sysinit.target, so that the configured tags are in place before most other units are started and may be used in their ConditionMachineTag= settings, see systemd.unit(5).

See Also

systemd(1), machine-tags.d(5), hostnamectl(1), systemd-hostnamed.service(8), systemd-machine-tag@.service(8), machine-info(5)