mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-08 02:57:22 +00:00
Update cheatsheets
This commit is contained in:
25
stormlock
Normal file
25
stormlock
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# Stormlock
|
||||
|
||||
> Centralized locking system.
|
||||
> More information: <https://github.com/tmccombs/stormlock>.
|
||||
|
||||
- Acquire a lease for resource:
|
||||
|
||||
`stormlock acquire {{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}}`
|
||||
Reference in New Issue
Block a user