k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
496 B
17 lines
496 B
[Unit]
|
|
Description=Weave proxy for Docker API
|
|
Documentation=http://docs.weave.works/
|
|
Wants=docker.socket
|
|
After=docker.service docker.socket
|
|
|
|
[Service]
|
|
EnvironmentFile=-/etc/weave.%H.env
|
|
EnvironmentFile=-/etc/weave.env
|
|
ExecStartPre=-{{ docker_bin_dir }}/docker rm -f weaveproxy
|
|
ExecStartPre={{ bin_dir }}/weave launch-proxy $WEAVEPROXY_ARGS
|
|
ExecStart={{ docker_bin_dir }}/docker attach weaveproxy
|
|
Restart=on-failure
|
|
ExecStop={{ bin_dir }}/weave stop-proxy
|
|
|
|
[Install]
|
|
WantedBy=weave-network.target
|