906c5fb0f5
new package OBS-URL: https://build.opensuse.org/request/show/446428 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/flannel?expand=0&rev=1
20 lines
585 B
Desktop File
20 lines
585 B
Desktop File
[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/sbin/flanneld -etcd-endpoints=${FLANNEL_ETCD_ENDPOINTS} -etcd-prefix=${FLANNEL_ETCD_KEY} $FLANNEL_OPTIONS
|
|
ExecStartPost=/usr/lib/flannel/mk-docker-opts.sh -k DOCKER_NETWORK_OPTIONS -d /run/flannel/docker
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
RequiredBy=docker.service
|