yggdrasil/start.sh
Knut Ahlers 1ab90c0c65
Initial version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-12-27 13:05:01 +01:00

8 lines
185 B
Bash
Executable file

#!/usr/bin/dumb-init /bin/bash
set -euxo pipefail
conf_file=/config/yggdrasil.conf
[ -f "${conf_file}" ] || yggdrasil -genconf >${conf_file}
exec yggdrasil -useconffile ${conf_file}