Skip to content

Commit

Permalink
Merge pull request #112 from LeszekBlazewski/fix-command-on-start-docs
Browse files Browse the repository at this point in the history
fix: invalid CTL_ON_CREATE usage in docker-compose example
  • Loading branch information
badlop authored Apr 19, 2024
2 parents 5801faa + e1517aa commit ce8ea0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ecs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ abort start, this can be disabled by prefixing commands with `!`
Example usage (or check the [full example](#customized-example)):
```yaml
environment:
- CTL_ON_CREATE=\! register admin localhost asd
- CTL_ON_CREATE=! register admin localhost asd
- CTL_ON_START=stats registeredusers ;
check_password admin localhost asd ;
status
Expand Down Expand Up @@ -513,7 +513,7 @@ services:
environment:
- ERLANG_NODE_ARG=ejabberd@main
- ERLANG_COOKIE=dummycookie123
- CTL_ON_CREATE=\! register admin localhost asd
- CTL_ON_CREATE=! register admin localhost asd
healthcheck:
test: netstat -nl | grep -q 5222
start_period: 5s
Expand Down

0 comments on commit ce8ea0a

Please sign in to comment.