From 608da9e9b56be83ac394ea7a19cbdacab94f6642 Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Tue, 21 Aug 2012 23:11:27 -0700 Subject: man: remove timezone(5) and add localtime(5) --- Makefile.am | 2 +- man/localtime.xml | 93 ++++++++++++++++++++++++++++++++++++++ man/timezone.xml | 90 ------------------------------------ units/systemd-timedated.service.in | 2 +- 4 files changed, 95 insertions(+), 92 deletions(-) create mode 100644 man/localtime.xml delete mode 100644 man/timezone.xml diff --git a/Makefile.am b/Makefile.am index 5674f1019a..12c2d2e93b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -471,7 +471,7 @@ MANPAGES = \ man/systemd.conf.5 \ man/tmpfiles.d.5 \ man/hostname.5 \ - man/timezone.5 \ + man/localtime.5 \ man/machine-id.5 \ man/locale.conf.5 \ man/os-release.5 \ diff --git a/man/localtime.xml b/man/localtime.xml new file mode 100644 index 0000000000..09df161baa --- /dev/null +++ b/man/localtime.xml @@ -0,0 +1,93 @@ + + + + + + + + + /etc/localtime + systemd + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + Developer + Shawn + Landden + shawnlandden@gmail.com + + + + + + localtime + 5 + + + + localtime + Local time zone configuration file + + + + /etc/localtime -> /usr/share/zoneinfo/… + + + + Description + + The /etc/localtime file + configures the system-wide time zone of the local + system that is used by applications for presentation + to the user. It should be an absolute symbolic link + with a destination of /usr/share/zoneinfo/, + fallowed by a time zone identifier such as + Europe/Berlin or Etc/UTC. + The resulting link should point to the corresponding binary + tzfile5 + time zone data for the configured time zone. + + As the time zone identifier is extracted from the name of + the target of /etc/localtime this file may + not be a normal file or hardlink. + + The time zone may be overridden for individual + programs by using the TZ environment variable. See + environ7. + + + + See Also + + tzset3 + localtime3 + systemd1 + + + + diff --git a/man/timezone.xml b/man/timezone.xml deleted file mode 100644 index dedb7d90ff..0000000000 --- a/man/timezone.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - /etc/timezone - systemd - - - - Developer - Lennart - Poettering - lennart@poettering.net - - - - - - timezone - 5 - - - - timezone - Local time zone configuration file - - - - /etc/timezone - - - - Description - - The /etc/timezone file - configures the system-wide time zone of the local - system that is used by applications for presentation - to the user. It should contain a single - newline-terminated line consisting of a time zone - identifier such as - Europe/Berlin. The file - /etc/localtime corresponds with - /etc/timezone and contains the - binary time zone data for the time zone. These files - should always be changed simultaneously and kept in - sync. - - The time zone may be overridden for individual - programs by using the TZ environment variable. See - environ7. - - - - History - - The simple configuration file format of - /etc/timezone originates from - Debian GNU/Linux. - - - - See Also - - systemd1 - - - - diff --git a/units/systemd-timedated.service.in b/units/systemd-timedated.service.in index 1944a71cb7..dd3eb1b337 100644 --- a/units/systemd-timedated.service.in +++ b/units/systemd-timedated.service.in @@ -7,7 +7,7 @@ [Unit] Description=Time & Date Service -Documentation=man:systemd-timedated.service(8) man:timezone(5) +Documentation=man:systemd-timedated.service(8) man:localtime(5) Documentation=http://www.freedesktop.org/wiki/Software/systemd/timedated [Service] -- cgit v1.2.3-54-g00ecf