Add entrypoint.sh

This commit is contained in:
colin 2024-02-14 22:27:23 +00:00
parent 28cfcb180b
commit 516abe39e3
1 changed files with 8 additions and 0 deletions

8
entrypoint.sh Normal file
View File

@ -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