ContainersWorkspace/wireguard/entrypoint.sh
2023-08-01 17:01:01 +02:00

11 lines
210 B
Bash

#!/bin/bash
for file in /setup.d/*;
do
echo "Executing setup file $file";
bash -c "$file";
done
wg-quick up /data/wg0.conf && sleep infinity
echo "removing wg0 interface"
wg-quick down /data/wg0.conf