---
name: "tz-brasil-restart"
section: "8"
platform: "linux"
package: "tz-brasil"
version: "0.10"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/tz-brasil-restart"
---

# tz-brasil-restart(8)

restart programs if time zone has changed.

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