Skip to content

Commit

Permalink
Merge pull request #42 from bketelsen/iteration
Browse files Browse the repository at this point in the history
template config agreement
  • Loading branch information
kelseyhightower committed Feb 24, 2014
2 parents 32c8f39 + 3660148 commit 0712c59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/templates-interation-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ curl http://127.0.0.1:4001/v2/keys/myapp/upstream/app1 -XPUT -d value="10.0.1.10

## Create a template resource

`/etc/confd/conf.d/nginx.toml`
`/etc/confd/conf.d/myapp-nginx.toml`

```TOML
[template]
Expand All @@ -22,7 +22,7 @@ keys = [
owner = "nginx"
mode = "0644"
src = "myapp-nginx.tmpl"
dest = "/etc/nginx/conf.d/myapp.conf"
dest = "/tmp/myapp.conf"
check_cmd = "/usr/sbin/nginx -t -c {{ .src }}"
reload_cmd = "/usr/sbin/service nginx reload"
```
Expand Down

0 comments on commit 0712c59

Please sign in to comment.