entrypoint.sh 170 B

12345678910
  1. #!/bin/sh
  2. set -ex
  3. sed -e "s#{version}#$VERSION#" \
  4. -e "s#{virtual_port}#$VIRTUAL_PORT#" \
  5. -e "s#{target}#$TARGET#" \
  6. /torrc.template >/tmp/torrc
  7. exec "$@"