diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100644 index 0000000..16d3443 --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +if [ ! -f "/etc/wireguard/wg0.conf" ]; then + /usr/local/bin/setup-wireguard.sh +fi + +wg-quick up wg0 +exec tail -f /dev/null \ No newline at end of file