mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
chmod 0777 the socket.
This commit is contained in:
parent
fadfb5ce61
commit
e444cd5733
@ -10,6 +10,7 @@ process.title = 'Tims Chat Pushserver'
|
||||
|
||||
io = require 'socket.io'
|
||||
net = require 'net'
|
||||
fs = require 'fs'
|
||||
|
||||
config = require('../config.js').config
|
||||
|
||||
@ -47,5 +48,6 @@ class Server
|
||||
).bind(@)
|
||||
|
||||
socket.listen process.cwd() + '/../data.sock'
|
||||
fs.chmod process.cwd() + '/../data.sock', '777'
|
||||
|
||||
new Server()
|
Loading…
Reference in New Issue
Block a user