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
401 B

  1. [Unit]
  2. Description=Weave Network
  3. Documentation=http://docs.weave.works/weave/latest_release/
  4. Requires=docker.service
  5. After=docker.service
  6. [Service]
  7. EnvironmentFile=-/etc/weave.env
  8. ExecStartPre={{ bin_dir }}/weave launch-router \
  9. $WEAVE_SUBNET \
  10. $WEAVE_PEERS
  11. ExecStart=/usr/bin/docker attach weave
  12. ExecStop={{ bin_dir }}/weave stop-router
  13. [Install]
  14. WantedBy=multi-user.target