#!/bin/execlineb -P
envfile /etc/s6/config/wireguard.conf
importas -uD "wg0" WG_INTERFACE WG_INTERFACE
exec wg-quick up ${WG_INTERFACE}
