Play 2.0 - starting as Windows service after server restart

后端 未结 3 858
攒了一身酷
攒了一身酷 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条回答
  •  -上瘾入骨i
    2021-02-04 19:48

    I recently installed a play framework app using YAJSW by following this answer. I noticed that now, RUNNING_PID is automatically deleted and you don't have to worry about modifying your code to delete the file. Also, if your service depends on other services, it is better to set DELAYED_AUTO_START as the start mode to ensure the service is properly started after server reboot.

提交回复
热议问题