12345678910 |
- import helper
- from helper import Command
- 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 stop(logfile, errfile):
- return helper.stop('puma', logfile, errfile)
|