docker-plex-wireguard/root/etc/s6-overlay/s6-rc.d/init-wireguard/run
jaannnis 3cced1d334 Update Dockerfile
install wireguard
copy wireguard config

added wireguarg config

Update Dockerfile

Update Dockerfile

a

cleanup
2023-11-01 10:49:42 +00:00

10 lines
183 B
Text
Executable file

#!/usr/bin/with-contenv bash
# Bring up WireGuard if not already up
if ! ip link show dev wg0 > /dev/null 2>&1; then
wg-quick up wg0
else
sleep 60
fi
# Exit after running
exit 0