From 94417ece9461c215538f2d66d79372c3b65cc0f0 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Tue, 20 Apr 2021 00:13:22 -0400 Subject: [PATCH] fix --- src/class/CSCLI.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/class/CSCLI.ts b/src/class/CSCLI.ts index cf1a59a..47bb269 100644 --- a/src/class/CSCLI.ts +++ b/src/class/CSCLI.ts @@ -104,7 +104,7 @@ export default class CSCLI { public async init() { try { - await fs.unlink('/var/run/csd-comm.sock'); + await fs.unlink('/run/csd-comm.sock'); } catch { // eslint-disable-next-line no-unused-expressions null; @@ -119,9 +119,9 @@ export default class CSCLI { this.client.signale.success('[CSD-COMM] Listen - TCP:8124'); }); this.servers.unix.listen('/var/run/csd-comm.sock', async () => { - await fs.chmod('/var/run/csd-comm.sock', 0o770); - await fs.chown('/var/run/csd-comm.sock', 0, 115); - this.client.signale.success('[CSD-COMM] Listen - UNIX:/var/run/csd-comm.sock'); + await fs.chmod('/run/csd-comm.sock', 0o770); + await fs.chown('/run/csd-comm.sock', 0, 115); + this.client.signale.success('[CSD-COMM] Listen - UNIX:/run/csd-comm.sock'); }); } }