Move alpine based image

Signed-off-by: Yan Minari <yangm97@gmail.com>
This commit is contained in:
Yan Minari 2019-03-14 16:04:11 -03:00
parent 3731c9a826
commit 8cb75c9005
No known key found for this signature in database
GPG key ID: CC7D230C1C6ED7E2
2 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,13 @@
#!/usr/bin/env sh
set -e
CONF_DIR="/etc/yggdrasil-network"
if [ ! -f "$CONF_DIR/config.conf" ]; then
echo "generate $CONF_DIR/config.conf"
yggdrasil --genconf > "$CONF_DIR/config.conf"
fi
yggdrasil --useconf < "$CONF_DIR/config.conf"
exit $?