def start(args, logfile, errfile):
  helper.set_database_host(args)
  commands = [
    Command("sudo /usr/local/nginx/sbin/nginx -c $TROOT/config/nginx.conf", True),
    Command("rvm ruby-2.0.0-p0 do bundle exec unicorn -E production -c config/unicorn.rb", False)
  ]

  return helper.run(commands, logfile, errfile, args.troot)
def start(args, logfile, errfile):
    helper.set_database_host(args)
    commands = [
        Command("sudo /usr/local/nginx/sbin/nginx -c $TROOT/config/nginx.conf",
                True),
        Command(
            "rvm ruby-2.0.0-p0 do bundle exec unicorn -E production -c config/unicorn.rb",
            False)
    ]

    return helper.run(commands, logfile, errfile, args.troot)
def start(args, logfile, errfile):
    helper.set_database_host(args)
    command = Command(
        "rvm ruby-2.0.0-p0 do bundle exec thin start -C config/thin.yml",
        False)
    return helper.run([command], logfile, errfile, args.troot)
def start(args, logfile, errfile):
  helper.set_database_host(args)
  command = Command("rvm ruby-2.0.0-p0 do bundle exec thin start -C config/thin.yml", False)
  return helper.run([command], logfile, errfile, args.troot)
Example #5
0
def start(args, logfile, errfile):
    helper.set_database_host(args)
    command = Command(
        "rvm jruby-1.7.8 do bundle exec torqbox -b 0.0.0.0 -E production",
        False)
    return helper.run([command], logfile, errfile, args.troot)
def start(args, logfile, errfile):
    helper.set_database_host(args)
    command = Command(
        "rvm jruby-1.7.8 do bundle exec puma -b tcp://0.0.0.0:8080 -e production",
        False)
    return helper.run([command], logfile, errfile, args.troot)
def start(args, logfile, errfile):
  helper.set_database_host(args)
  command = Command("rvm jruby-1.7.8 do bundle exec puma -b tcp://0.0.0.0:8080 -e production", False)
  return helper.run([command], logfile, errfile, args.troot)
Example #8
0
def start(args, logfile, errfile):
  helper.set_database_host(args)
  command = Command("rvm ruby-2.0.0-p0 do bundle exec puma -t 8:32 -w 8 --preload -b tcp://0.0.0.0:8080 -e production", False)
  return helper.run([command], logfile, errfile, args.troot)
def start(args, logfile, errfile):
  helper.set_database_host(args)
  command = Command("rvm jruby-1.7.8 do bundle exec trinidad --config config/trinidad.yml", False)
  return helper.run([command], logfile, errfile, args.troot)
def start(args, logfile, errfile):
  helper.set_database_host(args)
  command = Command("rvm jruby-1.7.8 do bundle exec torqbox -b 0.0.0.0 -E production", False)
  return helper.run([command], logfile, errfile, args.troot)
Example #11
0
def start(args, logfile, errfile):
    helper.set_database_host(args)
    command = Command(
        "rvm jruby-1.7.8 do bundle exec trinidad --config config/trinidad.yml",
        False)
    return helper.run([command], logfile, errfile, args.troot)