object ProdServerStart
Used to start servers in 'prod' mode, the mode that is used in production. The application is loaded and started immediately.
- Source
- ProdServerStart.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ProdServerStart
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
createPidFile(process: ServerProcess, configuration: api.Configuration): Option[File]
Create a pid file for the current process.
-
def
main(args: Array[String]): Unit
Start a prod mode server from the command line.
-
def
readServerConfigSettings(process: ServerProcess): ServerConfig
Read the server config from the current process's command line args and system properties.
-
def
start(process: ServerProcess): ReloadableServer
Starts a Play server and application for the given process.
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.
- process
The process (real or abstract) to use for starting the server.