systemd-hostnamed.service - Man Page

Daemon to control system hostname from programs

Synopsis

systemd-hostnamed​.service

/usr/lib/systemd/systemd-hostnamed

Description

systemd-hostnamed​.service is a system service that may be used to change the system's hostname and related machine metadata from user programs​. It is automatically activated on request and terminates itself when unused​.

It currently offers access to five variables:

The static hostname is stored in /etc/hostname, see hostname(5) for more information​. The pretty hostname, chassis type, and icon name are stored in /etc/machine-info, see machine-info(5)​.

The tool hostnamectl(1) is a command line client to this service​.

See org.freedesktop.hostname1(5) and org.freedesktop.LogControl1(5) for a description of the D-Bus API​.

See Also

systemd(1), hostname(5), machine-info(5), hostnamectl(1), sethostname(2), org.freedesktop.hostname1(5)

Referenced By

hostname(5), hostnamectl(1), machine-info(5), org.freedesktop.hostname1(5), os-release(5), systemd.directives(7), systemd.index(7), systemd-machine-tag@.service(8), varlinkctl(1).

The man page systemd-hostnamed(8) is an alias of systemd-hostnamed.service(8).

systemd 262~rc2