# How to specify config values as part of start-up script?

To specify a property in a start-up script prefix the property key with -D

For example:

./bin/lottery -Dmail.service.on=true
  • play level properties can also be specified in a similar way, most common being http port:

    ./bin/lottery -Dhttp.port=9090