ubic_watchdog - watchdog which checks all ubic services.
ubic-watchdog [-v] [--compile-timeout=N] ubic-watchdog SERVICE SERVICE2 SERVICE_GLOB ...
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.
-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.
This script should be invoked every minute (or as often as you like), usually as a cron job.
Vyacheslav Matyukhin <firstname.lastname@example.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 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.