From 490a3d074c05de9a44f6876ed86e4d5de72bdb82 Mon Sep 17 00:00:00 2001 From: Alexandre DEVELY <12896316+alexandredevely@users.noreply.github.com> Date: Sat, 30 Sep 2023 14:37:28 +0200 Subject: [PATCH] fix .queue location --- printer-service.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/printer-service.js b/printer-service.js index 4db7ab2..1c1f266 100644 --- a/printer-service.js +++ b/printer-service.js @@ -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;