Sha256: d3d6e157d4ac363d203e2cee13b7ca796e2141e5211ce1cd4d7a11f9bac127c7

Contents?: true

Size: 882 Bytes

Versions: 299

Compression:

Stored size: 882 Bytes

Contents

# /etc/init/puma-manager.conf - manage a set of Pumas

# This example config should work with Ubuntu 12.04+.  It
# allows you to manage multiple Puma instances with
# Upstart, Ubuntu's native service management tool.
#
# See puma.conf for how to manage a single Puma instance.
#
# Use "stop puma-manager" to stop all Puma instances.
# Use "start puma-manager" to start all instances.
# Use "restart puma-manager" to restart all instances.
# Crazy, right?
#

description "Manages the set of puma processes"

# This starts upon bootup and stops on shutdown
start on runlevel [2345]
stop on runlevel [06]

# Set this to the number of Puma processes you want
# to run on this machine
env PUMA_CONF="/etc/puma.conf"

pre-start script
  for i in `cat $PUMA_CONF`; do
    app=`echo $i | cut -d , -f 1`
    logger -t "puma-manager" "Starting $app"
    start puma app=$app
  done
end script

Version data entries

299 entries across 293 versions & 24 rubygems

Version Path
puma-4.3.12-java tools/jungle/upstart/puma-manager.conf
puma-4.3.12 tools/jungle/upstart/puma-manager.conf
puma-4.3.11-java tools/jungle/upstart/puma-manager.conf
puma-4.3.11 tools/jungle/upstart/puma-manager.conf
puma-4.3.10-java tools/jungle/upstart/puma-manager.conf
puma-4.3.10 tools/jungle/upstart/puma-manager.conf
puma-4.3.9 tools/jungle/upstart/puma-manager.conf
puma-4.3.9-java tools/jungle/upstart/puma-manager.conf
logstash-output-scalyr-0.2.1.beta vendor/bundle/jruby/2.5.0/gems/puma-2.16.0-java/tools/jungle/upstart/puma-manager.conf
logstash-output-scalyr-0.2.0 vendor/bundle/jruby/2.5.0/gems/puma-2.16.0-java/tools/jungle/upstart/puma-manager.conf
logstash-output-scalyr-0.2.0.beta vendor/bundle/jruby/2.5.0/gems/puma-2.16.0-java/tools/jungle/upstart/puma-manager.conf
logstash-output-scalyr-0.1.26.beta vendor/bundle/jruby/2.5.0/gems/puma-2.16.0-java/tools/jungle/upstart/puma-manager.conf
logstash-output-scalyr-0.1.25.beta vendor/bundle/jruby/2.5.0/gems/puma-2.16.0-java/tools/jungle/upstart/puma-manager.conf
logstash-output-scalyr-0.1.24.beta vendor/bundle/jruby/2.5.0/gems/puma-2.16.0-java/tools/jungle/upstart/puma-manager.conf
logstash-output-scalyr-0.1.23.beta vendor/bundle/jruby/2.5.0/gems/puma-2.16.0-java/tools/jungle/upstart/puma-manager.conf
logstash-output-scalyr-0.1.22.beta vendor/bundle/jruby/2.5.0/gems/puma-2.16.0-java/tools/jungle/upstart/puma-manager.conf
logstash-output-scalyr-0.1.21.beta vendor/bundle/jruby/2.5.0/gems/puma-2.16.0-java/tools/jungle/upstart/puma-manager.conf
logstash-output-scalyr-0.1.20.beta vendor/bundle/jruby/2.5.0/gems/puma-2.16.0-java/tools/jungle/upstart/puma-manager.conf
logstash-output-scalyr-0.1.19.beta vendor/bundle/jruby/2.5.0/gems/puma-2.16.0-java/tools/jungle/upstart/puma-manager.conf
logstash-output-scalyr-0.1.18.beta vendor/bundle/jruby/2.5.0/gems/puma-2.16.0-java/tools/jungle/upstart/puma-manager.conf