You can read /etc/init.d/wireguard for some useful information.