Skip to content

banduk/apm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


A(guia) P(rocess) M(anager)

# APM - Aguia Process Manager APM is a lightweight process manager written in Golang for Golang applications. It helps you keep your applications alive forever, to reload and start them from the source code.

For better use, check out the godoc: GoDoc

Starting an application is easy:

$ ./apm bin app-name --source="github.com/topfreegames/apm"

This will basically compile your project source code and start it as a daemon in the background.

Install APM

$ go get github.com/topfreegames/apm

Start APM

$ ./apm serve --config-file="config/file/path.toml"

Main features

Commands overview

$ ./apm serve --config-file="config/file/path.toml"
$ ./apm serve-stop --config-file="config/file/path.toml"

$ ./apm bin app-name --source="github.com/topfreegames/apm"   # Compile, start, daemonize and auto restart application.
$ ./apm start app-name                                        # Start, daemonize and auto restart application.
$ ./apm stop app-name                                         # Stop application.
$ ./apm delete app-name                                       # Delete application forever.

$ ./apm status                                                # Display status for each app.

### Managing process via HTTP

You can also use all of the above commands via HTTP requests. Just set the flag ```--dns``` together with ```./apm serve``` and then you can use a remote client to start, stop, delete and query status for each app. 

About

APM is a process manager for Golang applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%