ssm/examples/services/tinc

8 lines
190 B
Plaintext
Raw Permalink Normal View History

#!/usr/bin/env ssm
# This trick was neat back in 2011, I swear
var tinc_network = "${service_name##*-}"
service_respawn = on-failure
service_command = /usr/bin/tincd -D -n "$tinc_network"