From: charleswrayjr Date: Sun, 7 Sep 2025 20:28:39 +0000 (-0500) Subject: Testing vpn paths. X-Git-Url: https://git.phasecustomsoft.com/static/%7B?a=commitdiff_plain;h=04be0b717910c21d2d6b8a134bfa1d86da53e4c7;p=phs-api.git Testing vpn paths. --- diff --git a/src/controllers/vpn.controller.js b/src/controllers/vpn.controller.js index 2b1546a..a4c4b96 100644 --- a/src/controllers/vpn.controller.js +++ b/src/controllers/vpn.controller.js @@ -75,7 +75,7 @@ module.exports = { }, getClients:async ( req, res, next ) => { const conn = new Client(); conn.on( 'ready', () => { - const command = `cat /etc/openvpn/openvpn-status`; + const command = `cat /var/log/openvpn/openvpn-status`; conn.exec( command, ( err, stream ) => { if (err) { conn.end();