]> PHS Git Server - phs-api.git/commitdiff
Testing vpn paths.
authorcharleswrayjr <charleswrayjr@gmail.com>
Sun, 7 Sep 2025 20:29:28 +0000 (15:29 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Sun, 7 Sep 2025 20:29:28 +0000 (15:29 -0500)
src/controllers/vpn.controller.js

index a4c4b96f8372b25643183e0e46b3f2324350ff8e..b8dd6fc240c4e809a2a7b53bf670f28cdeeb1b65 100644 (file)
@@ -75,7 +75,7 @@ module.exports = {
   }, getClients:async ( req, res, next ) => {
     const conn = new Client();
     conn.on( 'ready', () => {
-      const command = `cat /var/log/openvpn/openvpn-status`;
+      const command = `cat /var/log/openvpn/openvpn-status.log`;
       conn.exec( command, ( err, stream ) => {
         if (err) {
           conn.end();