diff --git a/pages/common/stormlock.md b/pages/common/stormlock.md new file mode 100644 index 0000000000..ad043e8ee3 --- /dev/null +++ b/pages/common/stormlock.md @@ -0,0 +1,20 @@ +# Stormlock + +> Centralized locking system. +> More information: . + +- 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}}`