#!/bin/sh -e

for conf in /etc/wireguard/*.conf; do
    [ -e "$conf" ] || continue
    wg-quick up "$conf"
done

exec chpst -b wireguard pause
