更新时间:2023-11-22 17:44:22
$ start -Dhttp.port=9998 -Dpidfile.path=/path/to/app1/pidfile
$ start -Dhttp.port=9999 -Dpidfile.path=/path/to/app2/pidfile
只需确保传递给每个应用程序的两个pidfile路径都是d ifferent。
Just make sure the two pidfile paths that you pass to each app are different.
这里记录了:
http://www.playframework.com/documentation/2.2.x/ProductionConfiguration