1SYSTEMD-HOSTNAMED.SERVICE(8)systemd-hostnamed.servicSeYSTEMD-HOSTNAMED.SERVICE(8)
2
3
4
6 systemd-hostnamed.service, systemd-hostnamed - Daemon to control system
7 hostname from programs
8
10 systemd-hostnamed.service
11
12 /usr/lib/systemd/systemd-hostnamed
13
15 systemd-hostnamed.service is a system service that may be used to
16 change the system's hostname and related machine metadata from user
17 programs. It is automatically activated on request and terminates
18 itself when unused.
19
20 It currently offers access to five variables:
21
22 • The current hostname (Example: "dhcp-192-168-47-11")
23
24 • The static (configured) hostname (Example: "lennarts-computer")
25
26 • The pretty hostname (Example: "Lennart's Computer")
27
28 • A suitable icon name for the local host (Example:
29 "computer-laptop")
30
31 • A chassis type (Example: "tablet")
32
33 The static hostname is stored in /etc/hostname, see hostname(5) for
34 more information. The pretty hostname, chassis type, and icon name are
35 stored in /etc/machine-info, see machine-info(5).
36
37 The tool hostnamectl(1) is a command line client to this service.
38
39 See org.freedesktop.hostname1(5) and org.freedesktop.LogControl1(5) for
40 a description of the D-Bus API.
41
43 systemd(1), hostname(5), machine-info(5), hostnamectl(1),
44 sethostname(2)
45
46
47
48systemd 253 SYSTEMD-HOSTNAMED.SERVICE(8)