Skip to content

Instantly share code, notes, and snippets.

@laughingman7743
Created October 26, 2014 13:25
Show Gist options
  • Save laughingman7743/8e4ca2bc76fa9c067ebf to your computer and use it in GitHub Desktop.
Save laughingman7743/8e4ca2bc76fa9c067ebf to your computer and use it in GitHub Desktop.
[program:YOUR_PLAY_APP]
process_name=%(program_name)s
directory=/path/to/YOUR_PLAY_APP
command=/bin/bash -c "ulimit -n 10240; exec universal/stage/bin/YOUR_PLAY_APP_NAME -Dhttp.port=9000 -Dconfig.file=/path/to/YOUR_PLAY_APP/universal/stage/conf/application.prod.conf -Dpidfile.path=/dev/null"
autostart=true
autorestart=true
user=YOUR_APP_USER
redirect_stderr=true
stdout_logfile=/path/to/YOUR_LOG_DIR/%(program_name)s.log
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment