Skip to content

Commit

Permalink
Actually write the monitrc file
Browse files Browse the repository at this point in the history
  • Loading branch information
jfahrer committed Jun 22, 2019
1 parent a51cdab commit 796de1f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker-entrypoint.sh
Expand Up @@ -35,8 +35,7 @@ case "$COMMAND" in
;;

watch)
envsubst /etc/monitrc.template > /etc/monitrc
# sed ... > monitrc
envsubst < /etc/monitrc.template > /etc/monitrc
export UNISON_START_COMMAND="${UNSION_COMMAND} -repeat watch \"${HOST_DATA_PATH}\" \"${CONTAINER_DATA_PATH}\""
exec supervisord
;;
Expand Down

0 comments on commit 796de1f

Please sign in to comment.