Skip to content

Commit b1a23f2

Browse files
committed
Update ops guide for #49, also fix indent level.
1 parent 12139cf commit b1a23f2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/operations-guide.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ Other than the switches (flags) documented below you just specify the DEP names
375375
376376
Examples in the "Example usage" section are below.
377377
378-
## Signals
378+
### Signals
379379
380380
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:
381381
@@ -454,6 +454,12 @@ The data is sent as an HTTP POST method with JSON data as the raw body. The JSON
454454
455455
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.
456456
457+
#### -user-agent string
458+
459+
* User-Agent string to use (default "nanodep-g-o-dep/0")
460+
461+
Sets the HTTP `User-Agent` header in the godep module when making DEP API requests.
462+
457463
##### Example data
458464
459465
Example JSON webhook body data:

0 commit comments

Comments
 (0)