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

index 2b1546a401501a28e187cef7a6d3245e395f772b..a4c4b96f8372b25643183e0e46b3f2324350ff8e 100644 (file)
@@ -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();