8 lines
219 B
Bash
8 lines
219 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
nats() {
|
||
|
command nix run nixpkgs#natscli -- -s 172.16.1.2 "$@"
|
||
|
}
|
||
|
|
||
|
nats stream add locks --defaults --discard-per-subject --subjects='lock.router' --storage=memory --discard=new --max-msgs-per-subject=1
|