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

  1. [Unit]
  2. Description=Weave proxy for Docker API
  3. Documentation=http://docs.weave.works/
  4. Wants=docker.socket
  5. After=docker.service docker.socket
  6. [Service]
  7. EnvironmentFile=-/etc/weave.%H.env
  8. EnvironmentFile=-/etc/weave.env
  9. ExecStartPre=-{{ docker_bin_dir }}/docker rm -f weaveproxy
  10. ExecStartPre={{ bin_dir }}/weave launch-proxy $WEAVEPROXY_ARGS
  11. ExecStart={{ docker_bin_dir }}/docker attach weaveproxy
  12. Restart=on-failure
  13. ExecStop={{ bin_dir }}/weave stop-proxy
  14. [Install]
  15. WantedBy=weave-network.target