You should check /etc/init.d/wireguard and modify the secripts