ProdServerStart

play.core.server.ProdServerStart

Used to start servers in 'prod' mode, the mode that is used in production. The application is loaded and started immediately.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def createPidFile(process: ServerProcess, configuration: Configuration): Option[File]

Create a pid file for the current process.

Create a pid file for the current process.

Attributes

def main(args: Array[String]): Unit

Start a prod mode server from the command line.

Start a prod mode server from the command line.

Attributes

Read the server config from the current process's command line args and system properties.

Read the server config from the current process's command line args and system properties.

Attributes

Starts a Play server and application for the given process. The settings for the server are based on values passed on the command line and in various system properties. Crash out by exiting the given process if there are any problems.

Starts a Play server and application for the given process. The settings for the server are based on values passed on the command line and in various system properties. Crash out by exiting the given process if there are any problems.

Value parameters

process

The process (real or abstract) to use for starting the server.

Attributes