Skip to content

Commit

Permalink
adds reload cmd docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhang93 committed May 14, 2024
1 parent 8b302a6 commit cf2eb8a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,14 +191,8 @@ Agent can be reloaded by sending a SIGHUP signal to the agent process, if the ag
PID is stored inside
`/tmp/tplagent/agent.pid`. Agent reloading can be useful to read new config. For example

1) Edit the agent config file and save it
2) Locate the PID file
```shell
PID=$(cat /tmp/tplagent/agent.pid)
kill -1 $PID
```

3 ) A future CLI command will be added to reload the process using `tplagent reload`
To reload the agent run
`tplagent reload`

## Reloading the agent via HTTP listener

Expand Down

0 comments on commit cf2eb8a

Please sign in to comment.