1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 13:05:59 +02:00

stormlock: add page (#5751)

This commit is contained in:
Florian B 2021-04-15 19:47:12 +02:00 committed by GitHub
parent 60b260c381
commit c2949ae95e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
pages/common/stormlock.md Normal file
View file

@ -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}}`