Play 2.0 - starting as Windows service after server restart

后端 未结 3 939
攒了一身酷
攒了一身酷 2021-02-04 19:04

I have the Play! application running as a windows service. It is implemented according to this guidance.

The problem is that the RUNNING_PID at the root fo

3条回答
  •  遇见更好的自我
    2021-02-04 19:35

    Since Play Framework 2.1 you can disable the PID file by setting the pidfile.path property:

    Windows:

    -Dpidfile.path=NUL
    

    Unix:

    -Dpidfile.path=/dev/null
    

    Found at https://groups.google.com/forum/#!topic/play-framework/4amD9o37Ki4

提交回复
热议问题