Update docker/headscale/start.sh

This commit is contained in:
colin 2024-01-22 14:43:43 +00:00
parent 674f55950f
commit 611cd628b4
1 changed files with 7 additions and 2 deletions

View File

@ -1,7 +1,8 @@
#!/bin/bash
echo loading start.sh
replace_config_values() {
local config_template="/etc/headscale/config-example.yaml"
echo replacing configuration values
local config_template="/etc/headscale-example/config-example.yaml"
local config_output="/etc/headscale/config.yaml"
# Default values
@ -59,4 +60,8 @@ replace_config_values() {
# Run the function to replace variables and start headscale
replace_config_values
echo configuration implementation system finished.
cat /etc/headscale/config.yaml
echo launching headscale.
headscale