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'); }); } }