#!/bin/sh # Tinc # Remove existing configuration rm --verbose -rf /etc/tinc/* # Copy all non-template files to /etc/(tinc) find tinc -type d | xargs -I '{}' mkdir --verbose -p /etc/{} find tinc -type f ! -name '*.tmpl' | xargs -I '{}' cp --verbose {} /etc/{} # Mutate templates to /etc/(tinc) as well #TODO # Bird rm -rf /etc/bird/* docker-compose up -d --build