c12s-kubespray/roles/network_plugin/weave/templates/weaveexpose.service.j2

17 lines
370 B
Text
Raw Normal View History

2016-02-09 16:16:16 +00:00
[Unit]
Documentation=http://docs.weave.works/
Wants=docker.socket weave.service
After=docker.service docker.socket weave.service
2016-02-09 16:16:16 +00:00
[Service]
Type=oneshot
RemainAfterExit=yes
TimeoutStartSec=0
EnvironmentFile=-/etc/weave.%H.env
EnvironmentFile=-/etc/weave.env
ExecStart={{ bin_dir }}/weave expose
ExecStop={{ bin_dir }}/weave hide
[Install]
WantedBy=weave-network.target