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.

18 lines
375 B

  1. [Unit]
  2. Documentation=http://docs.weave.works/
  3. Requires=docker.service
  4. Requires=weave.service
  5. After=weave.service
  6. After=docker.service
  7. [Service]
  8. Type=oneshot
  9. RemainAfterExit=yes
  10. TimeoutStartSec=0
  11. EnvironmentFile=-/etc/weave.%H.env
  12. EnvironmentFile=-/etc/weave.env
  13. ExecStart={{ bin_dir }}/weave expose
  14. ExecStop={{ bin_dir }}/weave hide
  15. [Install]
  16. WantedBy=weave-network.target