run_trinidad.py 350 B

12345678910
  1. import helper
  2. from helper import Command
  3. def start(args, logfile, errfile):
  4. helper.set_database_host(args)
  5. command = Command("rvm jruby-1.7.8 do bundle exec trinidad --config config/trinidad.yml", False)
  6. return helper.run([command], logfile, errfile, args.troot)
  7. def stop(logfile, errfile):
  8. return helper.stop('trinidad', logfile, errfile)