Alex Efros > Narada > narada-lock-exclusive

Download:
Narada-v1.4.5.tar.gz

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

narada-lock-exclusive - run command under exclusive lock

VERSION ^

This document describes narada-lock-exclusive version v1.4.5

USAGE ^

    narada-lock-exclusive [/path/to/commands param ...]

DESCRIPTION ^

Wrapper for running other process under exclusive_lock(). Will also set environment variable NARADA_SKIP_LOCK to "1", so all scripts executed under this wrapper will not try to set their own locks.

When executed without params will run `bash --norc` with '[LOCKED]' prefix in $PS1.

Exit status of narada-lock-exclusive will be same as exit status of executed command.

Script must be executed only from "project root directory".

CONFIGURATION AND ENVIRONMENT ^

Use var/.lock and var/.lock.new files.

Will set NARADA_SKIP_LOCK environment variable.

SUPPORT ^

Bugs / Feature Requests

Please report any bugs or feature requests through the issue tracker at https://github.com/powerman/Narada/issues. You will be notified automatically of any progress on your issue.

Source Code

This is open source software. The code repository is available for public review and contribution under the terms of the license. Feel free to fork the repository and submit pull requests.

https://github.com/powerman/Narada

    git clone https://github.com/powerman/Narada.git

Resources

AUTHOR ^

Alex Efros <powerman@cpan.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2008-2015 by Alex Efros <powerman@cpan.org>.

This is free software, licensed under:

  The MIT (X11) License
syntax highlighting: