1
0
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:
Tim Düsterhus 2012-04-27 22:13:27 +02:00
parent fadfb5ce61
commit e444cd5733

View File

@ -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()