Add entrypoint.sh
This commit is contained in:
parent
28cfcb180b
commit
516abe39e3
|
@ -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
|
Loading…
Reference in New Issue