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.

16 lines
410 B

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