Tweak docs to note that a port will wire up both a TCP and UDP port.

This commit is contained in:
Sean Chittenden 2017-03-15 16:08:22 -07:00
parent 9bfeac3c1d
commit 33019eca7c
No known key found for this signature in database
GPG key ID: 4EBC9DC16C2E5E16

View file

@ -54,12 +54,12 @@ job "docs" {
- `mbits` `(int: 10)` - Specifies the bandwidth required in MBits.
- `port` <code>([Port](#port-parameters): nil)</code> - Specifies a port
- `port` <code>([Port](#port-parameters): nil)</code> - Specifies a TCP/UDP port
allocation and can be used to specify both dynamic ports and reserved ports.
### `port` Parameters
- `static` `(int: nil)` - Specifies the static port to allocate. If omitted, a dynamic port is chosen. We **do not recommend** using static ports, except
- `static` `(int: nil)` - Specifies the static TCP/UDP port to allocate. If omitted, a dynamic port is chosen. We **do not recommend** using static ports, except
for `system` or specialized jobs like load balancers.
The label assigned to the port is used to identify the port in service