Skip to content

Instantly share code, notes, and snippets.

@sroze
Last active August 29, 2015 14:21
Show Gist options
  • Save sroze/be53d04cbb840e8cb572 to your computer and use it in GitHub Desktop.
Save sroze/be53d04cbb840e8cb572 to your computer and use it in GitHub Desktop.
Flannel upstart
FLANNELD_OPTIONS="--etcd-endpoints=http://${MASTER_IP}:4001"
description "Flanneld"
script
FLANNELD=/usr/bin/$UPSTART_JOB
FLANNELD_OPTIONS=
if [ -f /etc/default/$UPSTART_JOB ]; then
. /etc/default/$UPSTART_JOB
fi
exec "$FLANNELD" $FLANNELD_OPTIONS
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment