项目作者: ateska

项目描述 :
Enterprise-grade runtime supervisor
高级语言: Python
项目地址: git://github.com/ateska/ramona.git
创建时间: 2012-08-28T20:28:29Z
项目社区:https://github.com/ateska/ramona

开源协议:BSD 2-Clause "Simplified" License

下载


Ramona

Your next favorite supervisor component.

Ramona is an enterprise-grade runtime supervisor that allows controlling and monitoring software programs during their execution life cycle.

It provides supervisor/console functionality of init.d-like start/stop control, continuous integration (e.g. unit/functional/performance test launcher), deployment automation and other command-line oriented features. It is design the way that you should be able to extend that easily if needed (e.g. to include your own commands or tasks).

It is implemented in Python but it is not limited to be used only in Python projects.

Target platforms are all modern UNIXes, BSD derivates and Windows.

Quick introduction

Let’s assume your project (named foo) directory looks as follow:

  1. foo/
  2. bin/
  3. share/
  4. src/
  5. docs/
  6. foo.py <--- this is Ramona
  7. foo.conf

Ramona system will the provide you with following command-line API:

  1. $ ./foo.py --help
  2. usage: foo.py [-h] [-c CONFIGFILE] [-d] [-s]
  3. {start,stop,restart,status,help,console,server,clean,unittests}
  4. ...
  5. optional arguments:
  6. -h, --help show this help message and exit
  7. -c CONFIGFILE, --config CONFIGFILE
  8. Specify configuration file(s) to read (this option can
  9. be given more times). This will override build-in
  10. application level configuration.
  11. -d, --debug Enable debug (verbose) output.
  12. -s, --silent Enable silent mode of operation (only errors are
  13. printed).
  14. subcommands:
  15. {start,stop,restart,status,help,console,server}
  16. start Launch subprocess(es)
  17. stop Terminate subprocess(es)
  18. restart Restart subprocess(es)
  19. status Show status of subprocess(es)
  20. help Display help
  21. console Enter interactive console mode
  22. server Launch server in the foreground