Created
October 30, 2014 16:27
-
-
Save cybertk/77d9b96ad11bf2d97b72 to your computer and use it in GitHub Desktop.
This file contains 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 "Flynn layer 0" | |
#start on (started libvirt-bin and started networking) | |
respawn | |
respawn limit 1000 60 | |
script | |
IP_ADDR=$(/sbin/ifconfig eth1 | grep 'inet addr:' | cut -d: -f2 | awk '{print $1}') | |
env ETCD_DISCOVERY=https://discovery.etcd.io/e73ebc86a75276ab5954ba7a6447ec94 | |
flynn-host daemon --manifest /etc/flynn/host-manifest.json --external $IP_ADDR --state /tmp/flynn-host-state.json | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment