DragonFly On-Line Manual Pages

Search: Section:  


UBIC(1)               User Contributed Perl Documentation              UBIC(1)

NAME

ubic - command-line frontend to ubic services

VERSION

version 1.44

SYNOPSIS

ubic [-f] COMMAND [SERVICE]... Supported commands: status start stop restart reload force-reload cached-status try-restart ...and any service-specific commands

DESCRIPTION

This program can start, stop and display status of any services. It is a main tool for system administrator who wants to operate ubic services. ubic conforms to LSB interface for init scripts (<http://refspecs.freestandards.org/LSB_4.0.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html>) with obvious exception that it is invoked as "ubic COMMAND SERVICE" instead of "/etc/init.d/SERVICE COMMAND". It also can operate several services at once: o if invoked as "ubic start service1 service2", it will try to start both services; o if invoked as "ubic start multiservice", it will start all subservices of given multiservice; o if invoked as "ubic start", it will start all existing services. When operating multiservices, flag -f can be used to force operations on "protected" multiservices. For example, you can't restart all services on host using "ubic restart", you have to say "ubic restart -f".

EXIT STATUS

When managing one service, exit status conforms to LSB specification when it makes sense. When managing several services, exit code is non-zero if any service fails, and zero if all operations succeeded.

SEE ALSO

LSB - Init Script Actions <http://refspecs.freestandards.org/LSB_4.0.0/LSB-Core-generic/LSB-Core- generic/iniscrptact.html>

AUTHOR

Vyacheslav Matyukhin <mmcleric@yandex-team.ru>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 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. perl v5.20.2 2012-06-21 UBIC(1)

Search: Section: