Skip to content

Instantly share code, notes, and snippets.

@thatch45
Created February 16, 2012 19:58
Show Gist options
  • Save thatch45/1847420 to your computer and use it in GitHub Desktop.
Save thatch45/1847420 to your computer and use it in GitHub Desktop.
watch a command
tincd --net=MPXVPN --generate-keys=4096:
cmd:
- run
- unless: test -f /etc/tinc/MPXVPN/rsa_key.priv
tinc:
service:
- running
- watch:
- cmd: tincd --net=MPXVPN --generate-keys=4096
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment