Eric Paris 3b954b3
[Unit]
9418ac2
Description=Flanneld overlay address etcd agent
9418ac2
After=network.target
e99d939
After=network-online.target
e99d939
Wants=network-online.target
02d1cec
After=etcd.service
Eric Paris 3b954b3
Before=docker.service
9418ac2
9418ac2
[Service]
a4197d8
Type=notify
9418ac2
EnvironmentFile=/etc/sysconfig/flanneld
Eric Paris 3b954b3
EnvironmentFile=-/etc/sysconfig/docker-network
Eric Paris b6697a8
ExecStart=/usr/bin/flanneld -etcd-endpoints=${FLANNEL_ETCD} -etcd-prefix=${FLANNEL_ETCD_KEY} $FLANNEL_OPTIONS
Eric Paris 3b954b3
ExecStartPost=/usr/libexec/flannel/mk-docker-opts.sh -k DOCKER_NETWORK_OPTIONS -d /run/flannel/docker
bfb9656
Restart=on-failure
9418ac2
9418ac2
[Install]
6eedd9d
WantedBy=multi-user.target
Eric Paris 3b954b3
RequiredBy=docker.service