stormlock

Centralized locking system.

TLDR

Acquire a lease for resource

$ stormlock acquire [resource]
copy


Release the given lease for the given resource
$ stormlock release [resource] [lease_id]
copy


Show information on the current lease for a resource, if any
$ stormlock current [resource]
copy


Test if a lease for given resource is currently active
$ stormlock is-held [resource] [lease_id]
copy

Copied to clipboard