Skip to content

beamX/commander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Commander

Service to run and monitor OS processes.

Quick example

  1. Define a map which contains all processes which should be running,
daemons = %{
  custom_service: %{
    command: "customer_service start",
    options: []
  },
  haproxy: %{
    command: "haproxy -f /home/user/haproxy/haproxy.cfg -p /home/user/haproxy/run/haproxy.pid",
    options: []
  }
}

NOTE: Ensure that the commands are avaiable to user under which the commander service is running

  1. Start the services using the following command
Commander.start_from_config(daemons)

Intent

commander service is intended to be used in with control-node i.e. control-node library enables building a custom orchestrator which can deploy elixir services. commander is an elixir service which runs and manages non elixir processes. So, control-node in conjunction with commander can run and manage elixir and non-elixir services across a fleet of servers.

About

Service to remotely run and monitor OS processes

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors