diff options
Diffstat (limited to 'app-emulation/flannel/files/flanneld.service')
-rw-r--r-- | app-emulation/flannel/files/flanneld.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app-emulation/flannel/files/flanneld.service b/app-emulation/flannel/files/flanneld.service new file mode 100644 index 000000000000..86e69a49e73f --- /dev/null +++ b/app-emulation/flannel/files/flanneld.service @@ -0,0 +1,13 @@ +[Unit] +Description=Flanneld overlay address etcd agent +After=network.target +Before=docker.service + +[Service] +Type=notify +Environment=FLANNEL_ETCD=http://127.0.0.1:4001,http://127.0.0.1:2379 FLANNEL_ETCD_KEY=/coreos.com/network +ExecStart=/usr/bin/flanneld -etcd-endpoints=${FLANNEL_ETCD} -etcd-prefix=${FLANNEL_ETCD_KEY} $FLANNEL_OPTIONS +ExecStartPost=/usr/libexec/flannel/mk-docker-opts.sh -k DOCKER_NETWORK_OPTIONS -d /run/flannel/docker + +[Install] +RequiredBy=docker.service |