Skip to content

Commit

Permalink
stormlock: add page (tldr-pages#5751)
Browse files Browse the repository at this point in the history
  • Loading branch information
Waples authored Apr 15, 2021
1 parent 60b260c commit c2949ae
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pages/common/stormlock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Stormlock

> Centralized locking system.
> More information: <https://github.com/tmccombs/stormlock>.
- Acquire a lease for resource:

`stormlock aquire {{resource}}`

- Release the given lease for the given resource:

`stormlock release {{resource}} {{lease_id}}`

- Show information on the current lease for a resource, if any:

`stormlock current {{resource}}`

- Test if a lease for given resource is currently active:

`stormlock is-held {{resource}} {{lease_id}}`

0 comments on commit c2949ae

Please sign in to comment.