tyrcho / openshift-cartridge-play2

Play2 In OpenShift as a cartridge
https://github.com/tyrcho/openshift-cartridge-play2
37 stars 42 forks source link

Delete RUNNING_PID when starting the cartridge #8

Closed fchaillou closed 10 years ago

fchaillou commented 10 years ago

Hello,

First of all, thanks for this great cartridge ! Second, i have an issue when openshift kills my application the RUNNING_PID file stays there and when i try to restart it, it fails because of this file.

I was thinking that deleting that in the cartridge start function in the control file could be a good idea. What do you think ? Fabien

tyrcho commented 10 years ago

Seems a legitimate idea ... can you send a pull request for this ? otherwise i'll try to fix something later on.

fchaillou commented 10 years ago

Here it is : https://github.com/tyrcho/openshift-cartridge-play2/pull/9