Skip to content

Latest commit

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Zeus

This is a very simple application for launching (and restarting in case of faliure) multiple daemons, intended for docker containers. I wrote this entirely for my own use, put putting it out here in case anyone else finds it usefull.

How do I use it?

Write a JSON array containing one object per process you want Zeus to run. Each object should contain values for name (string, just a prettier name of the application), cmd (the command to execute as a string), args (string array with command line arguments), restart (boolean, if the process should be restarted when/if it closes). Example below:

[
{
"name": "Apache",
"cmd": "apachectl",
"args": ["-D", "FOREGROUND"],
"restart": true
},{
"name": "Shibboleth",
"cmd": "sudo",
"args": ["-u", "_shibd", "shibd", "-F"],
"restart": true
}
]

Installing

Install with go get github.com/Froglich/zeus .

About

Very simple init application for docker containers running multiple daemons

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages