Skip to content

Commit

Permalink
fix .queue location
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandredevely authored Sep 30, 2023
1 parent b7c30ca commit 490a3d0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions printer-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
const WebSocketClient = require('ws');
const chokidar = require('chokidar');

const DIR = ".printer-queue";
# const DIR = ".printer-queue";
const home = process.env.HOME;
const watchdir = home + '/' + DIR;
# const watchdir = home + '/' + DIR;
const watchdir = "/var/spool/cups-pdf/ANONYMOUS";

let watcher = null;

Expand Down

0 comments on commit 490a3d0

Please sign in to comment.