]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/systemd-hostnamed.service.xml
man: clarify that LogNamespace= is for system services only
[thirdparty/systemd.git] / man / systemd-hostnamed.service.xml
CommitLineData
29f4f511 1<?xml version='1.0'?> <!--*-nxml-*-->
3a54a157 2<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
12b42c76 3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
0307f791 4<!-- SPDX-License-Identifier: LGPL-2.1+ -->
29f4f511 5
56ba3c78 6<refentry id="systemd-hostnamed.service" conditional='ENABLE_HOSTNAMED'>
29f4f511 7
798d3a52
ZJS
8 <refentryinfo>
9 <title>systemd-hostnamed.service</title>
10 <productname>systemd</productname>
798d3a52
ZJS
11 </refentryinfo>
12
13 <refmeta>
14 <refentrytitle>systemd-hostnamed.service</refentrytitle>
15 <manvolnum>8</manvolnum>
16 </refmeta>
17
18 <refnamediv>
19 <refname>systemd-hostnamed.service</refname>
20 <refname>systemd-hostnamed</refname>
e09a36bd 21 <refpurpose>Daemon to control system hostname from programs</refpurpose>
798d3a52
ZJS
22 </refnamediv>
23
24 <refsynopsisdiv>
25 <para><filename>systemd-hostnamed.service</filename></para>
12b42c76 26 <para><filename>/usr/lib/systemd/systemd-hostnamed</filename></para>
798d3a52
ZJS
27 </refsynopsisdiv>
28
29 <refsect1>
30 <title>Description</title>
31
e09a36bd 32 <para><filename>systemd-hostnamed.service</filename> is a system service that may be used to change the
ca264f7d 33 system's hostname and related machine metadata from user programs. It is automatically activated on
e09a36bd
ZJS
34 request and terminates itself when unused.</para>
35
36 <para>It currently offers access to five variables:
37 <itemizedlist>
ca264f7d 38 <listitem><para>The current hostname (Example: <literal>dhcp-192-168-47-11</literal>)</para>
e09a36bd
ZJS
39 </listitem>
40
ca264f7d 41 <listitem><para>The static (configured) hostname (Example:
e09a36bd
ZJS
42 <literal>lennarts-computer</literal>)</para></listitem>
43
ca264f7d 44 <listitem><para>The pretty hostname (Example: <literal>Lennart's Computer</literal>)</para>
e09a36bd
ZJS
45 </listitem>
46
47 <listitem><para>A suitable icon name for the local host (Example:
48 <literal>computer-laptop</literal>)</para></listitem>
49
50 <listitem><para>A chassis type (Example: <literal>tablet</literal>)</para>
51 </listitem>
52 </itemizedlist></para>
798d3a52
ZJS
53
54 <para>The tool
55 <citerefentry><refentrytitle>hostnamectl</refentrytitle><manvolnum>1</manvolnum></citerefentry>
56 is a command line client to this service.</para>
57
ca264f7d 58 <para>See
1a0e562a
ZJS
59 <citerefentry><refentrytitle>org.freedesktop.hostname1</refentrytitle><manvolnum>5</manvolnum></citerefentry>
60 and
61 <citerefentry><refentrytitle>org.freedesktop.LogControl1</refentrytitle><manvolnum>5</manvolnum></citerefentry>
e09a36bd 62 for a description of the D-Bus API.</para>
798d3a52
ZJS
63 </refsect1>
64
65 <refsect1>
66 <title>See Also</title>
67 <para>
68 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
69 <citerefentry><refentrytitle>hostname</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
70 <citerefentry><refentrytitle>machine-info</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
71 <citerefentry><refentrytitle>hostnamectl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
72 <citerefentry><refentrytitle>sethostname</refentrytitle><manvolnum>2</manvolnum></citerefentry>
73 </para>
74 </refsect1>
29f4f511
LP
75
76</refentry>