Browse Source

stormlock: add page (#5751)

Florian B 3 years ago
parent
commit
c2949ae95e
1 changed files with 20 additions and 0 deletions
  1. 20 0
      pages/common/stormlock.md

+ 20 - 0
pages/common/stormlock.md

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