Fix possibly insecure permissions on the control socket.

The server's control socket is now in a private directory.
This commit is contained in:
John "Elwin" Edwards 2017-01-28 09:57:31 -05:00
parent c4d10ba33d
commit 4059bf2983
4 changed files with 19 additions and 4 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env node
var net = require('net');
var sockpath = "/var/run/rlgwebd.sock";
var sockpath = "/var/run/rlgwebd/rlgwebd.sock";
var sock = new net.Socket();