zordon

command module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2016 License: GPL-3.0 Imports: 21 Imported by: 0

README

Zordon

Zordon is a tool for defining and running multi-services Go applications. With Zordon, you use a Alphasfile to configure your application’s services. Then, using a single command, you create and start all the services from your configuration. Any application that is go gettable can be used as one.

Installation

To build Zordon from the source code yourself you need to have a working Go environment. You can directly use the go tool to download and install the Zordon.

$ go get github.com/piotrkowalczuk/zordon

Commands

  • morphintime - starts all services in specified order. It performs restart on exit code 1. Optional --install flag call go install for each service.
  • powerup - is trying to update each service. If any change is found by git, service will be skipped
  • recruit - install all services

Alphasfile

Zordon can run services automatically by reading the instructions from a Alphasfile. A Alphasfile is a hlc document that contains all the definitions.

Example
service "gnatsd" {
  import = "github.com/nats-io/gnatsd"

  arguments {
    D = false
    V = false
    T = false
    p = 9010
    m = 9011
  }
}

service "prometheus" {
  import = "github.com/prometheus/prometheus/cmd/prometheus"
  log = "json"

  arguments {
    log.format = "logger:stdout?json=true"
    web.listen-address = ":9020"
  }
}

License

GNU General Public License v3.0, see LICENSE.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL