20 lines
519 B
INI
20 lines
519 B
INI
[Unit]
|
|
Description=Flanneld overlay address etcd agent
|
|
After=network.target
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
After=etcd.service
|
|
Before=docker.service
|
|
|
|
[Service]
|
|
Type=notify
|
|
EnvironmentFile=/etc/sysconfig/flanneld
|
|
EnvironmentFile=-/etc/sysconfig/docker-network
|
|
ExecStart=/usr/bin/flanneld-start $FLANNEL_OPTIONS
|
|
ExecStartPost=/usr/libexec/flannel/mk-docker-opts.sh -k DOCKER_NETWORK_OPTIONS -d /run/flannel/docker
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
RequiredBy=docker.service
|