Skip to content

Commit

Permalink
docs: update readme curl example
Browse files Browse the repository at this point in the history
  • Loading branch information
shoenig authored Oct 13, 2022
1 parent 392731b commit 110f57f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ This example uses `curl` to fetch `example.com`, with the minimal set of promise
```hcl
job "curl" {
datacenters = ["dc1"]
type = "sysbatch"
type = "batch"
group "group" {
task "curl" {
driver = "pledge"
user = "nobody"
config {
command = "curl"
args = ["example.com"]
pledges = "stdio rpath inet unix sendfd dns"
command = "curl"
args = ["example.com"]
promises = "stdio rpath inet dns sendfd"
}
}
}
Expand Down Expand Up @@ -80,7 +80,7 @@ Currently there is only one configuration option for this plugin, which is to sp
```hcl
plugin "pledge" {
config {
pledge_executable = "/opt/bin/pledge-1.6.com"
pledge_executable = "/opt/bin/pledge-1.8.com"
}
}
```
Expand All @@ -105,7 +105,7 @@ task "curl" {
config {
command = "curl"
args = ["example.com"]
pledges = "stdio rpath inet unix sendfd dns"
pledges = "stdio rpath inet dns sendfd"
}
}
```
Expand Down

0 comments on commit 110f57f

Please sign in to comment.