2016-02-10 00:16:16 +08:00
|
|
|
[Unit]
|
|
|
|
Documentation=http://docs.weave.works/
|
2016-08-02 18:42:27 +08:00
|
|
|
Wants=docker.socket weave.service
|
2016-08-02 16:55:42 +08:00
|
|
|
After=docker.service docker.socket weave.service
|
2016-02-10 00:16:16 +08: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
|