Created
February 11, 2016 08:38
-
-
Save RafPe/bdf27335a15b5bd671de to your computer and use it in GitHub Desktop.
Nomad Hashicorp upstart script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| description "Nomad by HashiCorp" | |
| start on runlevel [2345] | |
| stop on runlevel [!2345] | |
| respawn | |
| script | |
| # CONFIG_DIR=/usr/local/etc/nomad | |
| # mkdir -p $CONFIG_DIR | |
| exec /usr/bin/nomad agent -server -bootstrap-expect=1 -data-dir=/tmp/nomad >> /var/log/nomad.log 2>&1 | |
| end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment