Skip to content

Commit

Permalink
Fix usage of register-pid in docs/ARCHITECTURE.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
jiuzhoucui committed Dec 17, 2024
1 parent 3581799 commit aa89d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ to find the TCP socket bound to 127.0.0.1 port 8080 in the nginx process and
register it under the "foo" label:

```
$ sudo tubectl register-pid "foo" $(pidof nginx) tcp 127.0.0.1 8080
$ sudo tubectl register-pid $(pidof nginx) "foo" tcp 127.0.0.1 8080
```

It's easy to wire this up using systemd's [ExecStartPost][] if the need arises.
Expand Down

0 comments on commit aa89d2e

Please sign in to comment.