Skip to content

Instantly share code, notes, and snippets.

@slawekkolodziej
Created May 30, 2016 14:34
Show Gist options
  • Save slawekkolodziej/d6796c0dae7442cc5c5a4a4a256ef7ee to your computer and use it in GitHub Desktop.
Save slawekkolodziej/d6796c0dae7442cc5c5a4a4a256ef7ee to your computer and use it in GitHub Desktop.
Upstart config for consul-agent running on AWS ECS
# Upstart config for consul-agent running on
# ECS instance initiated with user-script: with https://gist.github.com/slawekkolodziej/3dbcd3a27b5949ab48e022ce68e3523d
description "Consul Agent Container"
author "Slawek Kolodziej"
start on stopped rc RUNLEVEL=[345]
respawn
script
/usr/bin/docker start -a consul-agent
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment