[go: up one dir, main page]

Skip to content
/ zeus Public

Very simple init application for docker containers running multiple daemons

License

Notifications You must be signed in to change notification settings

Froglich/zeus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages