tz-brasil-restart

Langue: en

Version: nov 23, 2006 (debian - 07/07/09)

Section: 8 (Commandes administrateur)

NAME

tz-brasil-restart - restart programs if time zone has changed.

SYNOPSIS

tz-brasil-restart [ --verbose | --test | --force | --help | --version ]

DESCRIPTION

This program restarts programs if time zone has changed from last time that it was executed. Currently it restarts cron, syslog and also a custom program.

CONFIGURATION

The configuration variables VERBOSE and RUN_PROG are read from the configuration file. If you want to run a custom program when the system timezone changes, you can use the configuration variable RUN_PROG.

OPTIONS

This program is suposed to be run without arguments from cron, everyday at midnight. The following options are for debugging, they are not needed in regular use of the program.
--verbose
run in verbose mode.
--test
same as --verbose.
--force
force a restart in cron, syslog and custom program. runs in verbose mode.
--help
shows a brief usage help.
--version
shows program version.

FILES

/etc/tz-brasil.conf - configuration file. /var/lib/tz-brasil/last-timezone - last timezone information. /etc/cron.d/tz-brasil - cron configuration.

AUTHOR

This manual page was written by Pedro Zorzenon Neto <pzn@debian.org>, for the Debian GNU/Linux system (but may be used by others).