#!/bin/bash # Headscale install hooks — drop the config.yaml template into the # container's config folder before start so the daemon has its config on # first boot. headscale_install_post_compose() { local app_name="$1" local result result=$(createFolders "loud" $docker_install_user $containers_dir$app_name/config) checkSuccess "Create config folder" result=$(copyResource "$app_name" "config.yaml" "config" | runInstallWrite -a "$logs_dir/$docker_log_file" 2>&1) checkSuccess "Copying config.yaml to config folder." configSetupFileWithData $app_name "config.yaml" "config" }