1

With my Play application built with command activator stage, I want to deploy it to production server. However, when I use the start script to start the app, it seems the app is not forked into a separated JVM. Thus if I try Ctrl+C, it will kill the app. Ctrl+D does not do anything, unlike when I use the command activator start, where Ctrl+D is used to detach from the log.

Is there anyway to run the Play app as daemon in production (with no SBT, Activator installed)?

sebster
  • 1,322
  • 2
  • 18
  • 29
Khanetor
  • 11,595
  • 8
  • 40
  • 76

1 Answers1

0

Depending on your system, install it as a service ( in /etc/init.d for example), use a tool like supervisord or daemontools. There are plenty of other options as well

elmalto
  • 1,008
  • 1
  • 14
  • 23