Created
September 27, 2014 18:59
-
-
Save bketelsen/912c2aad8df259eb0e7a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: etcd-waiter.service | |
command: start | |
content: | | |
[Unit] | |
Wants=network-online.target | |
Wants=etcd.service | |
After=etcd.service | |
After=network-online.target | |
[Service] | |
ExecStart=/usr/bin/curl http://localhost:4001/v2/machines | |
Restart=on-failure | |
RestartSec=10 | |
RemainAfterExit=true | |
Type=oneshot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment