GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  UBIC::RUN (3)

.ds Aq ’

NAME

Ubic::Run - really simple way to write init scripts

CONTENTS

VERSION

version 1.58

SYNOPSIS



    # /etc/init.d/foo:
    use Ubic::Run; # proxy to foo ubic service

    # Or, if you want to rename the service or bind the service containing dots in its name:
    # /etc/init.d/foo-bar:
    use Ubic::Run qw(foo.bar); # proxy to foo.bar ubic service



DESCRIPTION

This module allows to represent any ubic service as an init script.

It resolves service name automatically by looking at process $0.

Currently, it supports systems where init script is located at /etc/init.d/ (LSB-compatible systems as specified by <http://refspecs.freestandards.org/LSB_4.0.0/LSB-Core-generic/LSB-Core-generic/initsrcinstrm.html>, for example, Debian and Ubuntu) and systems where this directory is called /etc/rc.d/init.d/ (for example, RedHat).

BUGS AND CAVEATS

*nix distributions can use different places for init scripts.

If your system doesn’t conform to cases listed in description, you’ll have to set the service name in import parameters.

Note that you usually don’t want to use SysV-style rcX.d runlevel symlinks, because Ubic remembers if service should be running by other means (by storing status files in /var/lib/ubic/status/), <B>ubic.watchdogB> brings all enabled services up in one minute after reboot, and usually it’s all you need anyway. See How is ubic compatible with SysV-style /etc/rcX.d/ symlinks? in Ubic::Manual::FAQ for more details in this topic.

SEE ALSO

Ubic::Service::InitScriptWrapper solves the reverse task: represent any init script as ubic service.

AUTHOR

Vyacheslav Matyukhin <mmcleric@yandex-team.ru>

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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 UBIC::RUN (3) 2015-01-27

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.