merge-requests/4/head
Matthew 2021-04-20 00:02:05 -04:00
parent d82c96db7e
commit cd32e0cbae
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 3 additions and 1 deletions

View File

@ -118,7 +118,9 @@ export default class CSCLI {
this.servers.tcp.listen(8124, () => {
this.client.signale.success('[CSD-COMM] Listen - TCP:8124');
});
this.servers.unix.listen('/var/run/csd-comm.sock', () => {
this.servers.unix.listen('/var/run/csd-comm.sock', async () => {
await fs.chmod('/var/run/csd-comm.sock', 770);
await fs.chown('/var/run/csd-comm.sock', 0, 115);
this.client.signale.success('[CSD-COMM] Listen - UNIX:/var/run/csd-comm.sock');
});
}