NAME
ubic_watchdog - watchdog which checks all ubic services.
VERSION
version 1.60
SYNOPSIS
ubic-watchdog [-v] [--compile-timeout=N]
ubic-watchdog SERVICE SERVICE2 SERVICE_GLOB ...
DESCRIPTION
This is a generic watchdog for all ubic services.
It checks every enabled service by asking for its status and tries to start it if service is down or broken.
Services are checked in parallel fashion, each one in separate forked process.
PARAMETERS
-v or --verbose flag can be used to enable detailed logging.
--compile-timeout=N option can be used to override service compilation timeout in seconds. Default is 10 seconds. This option is experimental and can be removed in future releases.
All other arguments are interpreted as service names. Arguments can contain *
symbol, which will be expanded in Unix shell fashion.
If service names are omitted, all services will be checked.
DEPLOYMENT
This script should be invoked every minute (or as often as you like), usually as a cron job.
AUTHOR
Vyacheslav Matyukhin <mmcleric@yandex-team.ru>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Yandex LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.