]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/timezone.xml
relicense to LGPLv2.1 (with exceptions)
[thirdparty/systemd.git] / man / timezone.xml
CommitLineData
801f44bb
LP
1<?xml version='1.0'?> <!--*-nxml-*-->
2<?xml-stylesheet type="text/xsl" href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"?>
3<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
4 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
5
6<!--
7 This file is part of systemd.
8
9 Copyright 2010 Lennart Poettering
10
11 systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
12 under the terms of the GNU Lesser General Public License as published by
13 the Free Software Foundation; either version 2.1 of the License, or
801f44bb
LP
14 (at your option) any later version.
15
16 systemd is distributed in the hope that it will be useful, but
17 WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5430f7f2 19 Lesser General Public License for more details.
801f44bb 20
5430f7f2 21 You should have received a copy of the GNU Lesser General Public License
801f44bb
LP
22 along with systemd; If not, see <http://www.gnu.org/licenses/>.
23-->
24
25<refentry id="timezone">
26 <refentryinfo>
27 <title>/etc/timezone</title>
28 <productname>systemd</productname>
29
30 <authorgroup>
31 <author>
32 <contrib>Developer</contrib>
33 <firstname>Lennart</firstname>
34 <surname>Poettering</surname>
35 <email>lennart@poettering.net</email>
36 </author>
37 </authorgroup>
38 </refentryinfo>
39
40 <refmeta>
41 <refentrytitle>timezone</refentrytitle>
42 <manvolnum>5</manvolnum>
43 </refmeta>
44
45 <refnamediv>
46 <refname>timezone</refname>
47 <refpurpose>Local time zone configuration file</refpurpose>
48 </refnamediv>
49
50 <refsynopsisdiv>
51 <para><filename>/etc/timezone</filename></para>
52 </refsynopsisdiv>
53
54 <refsect1>
55 <title>Description</title>
56
57 <para>The <filename>/etc/timezone</filename> file
58 configures the system-wide time zone of the local
59 system that is used by applications for presentation
60 to the user. It should contain a single
61 newline-terminated line consisting of a time zone
62 identifier such as
63 <literal>Europe/Berlin</literal>. The file
64 <filename>/etc/localtime</filename> corresponds with
65 <filename>/etc/timezone</filename> and contains the
66 binary time zone data for the time zone. These files
67 should always be changed simultaneously and kept in
68 sync.</para>
69
70 <para>The time zone may be overridden for individual
71 programs by using the TZ environment variable. See
72 <citerefentry><refentrytitle>environ</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
73 </refsect1>
74
75 <refsect1>
76 <title>History</title>
77
78 <para>The simple configuration file format of
79 <filename>/etc/timezone</filename> originates from
80 Debian GNU/Linux.</para>
81 </refsect1>
82
83 <refsect1>
84 <title>See Also</title>
85 <para>
86 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>
87 </para>
88 </refsect1>
89
90</refentry>