Poster of Linux kernelThe best gift for a Linux geek
TZ-BRASIL-RESTART

TZ-BRASIL-RESTART

Section: Maintenance Commands (8) Updated: nov 23, 2006
Local index Up
 

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).


 

Index

NAME
SYNOPSIS
DESCRIPTION
CONFIGURATION
OPTIONS
FILES
AUTHOR

This document was created by man2html, using the manual pages.
Time: 22:29:55 GMT, April 16, 2011