Debian Codegraph @

upstream/debian-unstable/man8/systemd-hostnamed.service.8

raw
1 '\" t
2 .TH "SYSTEMD\-HOSTNAMED\&.SERVICE" "8" "" "systemd 261~rc3" "systemd-hostnamed.service"
3 .\" -----------------------------------------------------------------
4 .\" * Define some portability stuff
5 .\" -----------------------------------------------------------------
6 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 .\" http://bugs.debian.org/507673
8 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
9 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 .ie \n(.g .ds Aq \(aq
11 .el .ds Aq '
12 .\" -----------------------------------------------------------------
13 .\" * set default formatting
14 .\" -----------------------------------------------------------------
15 .\" disable hyphenation
16 .nh
17 .\" disable justification (adjust text to left margin only)
18 .ad l
19 .\" -----------------------------------------------------------------
20 .\" * MAIN CONTENT STARTS HERE *
21 .\" -----------------------------------------------------------------
22 .SH "NAME"
23 systemd-hostnamed.service, systemd-hostnamed \- Daemon to control system hostname from programs
24 .SH "SYNOPSIS"
25 .PP
26 systemd\-hostnamed\&.service
27 .PP
28 /usr/lib/systemd/systemd\-hostnamed
29 .SH "DESCRIPTION"
30 .PP
31 systemd\-hostnamed\&.service
32 is a system service that may be used to change the system\*(Aqs hostname and related machine metadata from user programs\&. It is automatically activated on request and terminates itself when unused\&.
33 .PP
34 It currently offers access to five variables:
35 .sp
36 .RS 4
37 .ie n \{\
38 \h'-04'\(bu\h'+03'\c
39 .\}
40 .el \{\
41 .sp -1
42 .IP \(bu 2.3
43 .\}
44 The current hostname (Example:
45 "dhcp\-192\-168\-47\-11")
46 .RE
47 .sp
48 .RS 4
49 .ie n \{\
50 \h'-04'\(bu\h'+03'\c
51 .\}
52 .el \{\
53 .sp -1
54 .IP \(bu 2.3
55 .\}
56 The static (configured) hostname (Example:
57 "lennarts\-computer")
58 .RE
59 .sp
60 .RS 4
61 .ie n \{\
62 \h'-04'\(bu\h'+03'\c
63 .\}
64 .el \{\
65 .sp -1
66 .IP \(bu 2.3
67 .\}
68 The pretty hostname (Example:
69 "Lennart\*(Aqs Computer")
70 .RE
71 .sp
72 .RS 4
73 .ie n \{\
74 \h'-04'\(bu\h'+03'\c
75 .\}
76 .el \{\
77 .sp -1
78 .IP \(bu 2.3
79 .\}
80 A suitable icon name for the local host (Example:
81 "computer\-laptop")
82 .RE
83 .sp
84 .RS 4
85 .ie n \{\
86 \h'-04'\(bu\h'+03'\c
87 .\}
88 .el \{\
89 .sp -1
90 .IP \(bu 2.3
91 .\}
92 A chassis type (Example:
93 "tablet")
94 .RE
95 .PP
96 The static hostname is stored in
97 /etc/hostname, see
98 \fBhostname\fR(5)
99 for more information\&. The pretty hostname, chassis type, and icon name are stored in
100 /etc/machine\-info, see
101 \fBmachine-info\fR(5)\&.
102 .PP
103 The tool
104 \fBhostnamectl\fR(1)
105 is a command line client to this service\&.
106 .PP
107 See
108 \fBorg.freedesktop.hostname1\fR(5)
109 and
110 \fBorg.freedesktop.LogControl1\fR(5)
111 for a description of the D\-Bus API\&.
112 .SH "SEE ALSO"
113 .PP
114 \fBsystemd\fR(1), \fBhostname\fR(5), \fBmachine-info\fR(5), \fBhostnamectl\fR(1), \fBsethostname\fR(2), \fBorg.freedesktop.hostname1\fR(5)