Skip to content

Commit

Permalink
Update ops guide for #49, also fix indent level.
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepeterson committed Apr 9, 2024
1 parent 12139cf commit b1a23f2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/operations-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ Other than the switches (flags) documented below you just specify the DEP names
Examples in the "Example usage" section are below.
## Signals
### Signals
When run in "continuous" mode (the default) `depsyncer` waits for a duration between syncing devices. During this wait period you can request an explicit sync by sending the `depsyncer` process a Signal hangup (SIGHUP). For example if your system has the `killall` command and your `depsyncer` binary is called `depsyncer-darwin-amd64` you could:
Expand Down Expand Up @@ -454,6 +454,12 @@ The data is sent as an HTTP POST method with JSON data as the raw body. The JSON
With this information you could, for example, take device-specific actions by calling back into the `depserver` DEP APIs. For example to assign different DEP profiles depending on groups of serial numbers that you maintain or *not* assigning some serial numbers. It's all up to you with the DEP sync data provided.
#### -user-agent string
* User-Agent string to use (default "nanodep-g-o-dep/0")
Sets the HTTP `User-Agent` header in the godep module when making DEP API requests.
##### Example data
Example JSON webhook body data:
Expand Down

0 comments on commit b1a23f2

Please sign in to comment.