comparison initscript @ 208:f06f2d1a5035

Fix possibly insecure permissions on the control socket. The server's control socket is now in a private directory.
author John "Elwin" Edwards
date Sat, 28 Jan 2017 09:57:31 -0500
parents 298a531776d6
children 2667aaad8e08
comparison
equal deleted inserted replaced
207:ffe22d88bea1 208:f06f2d1a5035
1 #!/bin/sh 1 #!/bin/sh
2 2
3 NODE_PATH=/usr/lib/node_modules 3 NODE_PATH=/usr/lib/node_modules
4 LOGFILE=/var/log/rlgwebd.log 4 LOGFILE=/var/log/rlgwebd.log
5 CTLSOCKET=/var/run/rlgwebd.sock 5 CTLSOCKET=/var/run/rlgwebd/rlgwebd.sock
6 RLGWEBDJS=/usr/local/bin/rlgwebd 6 RLGWEBDJS=/usr/local/bin/rlgwebd
7 7
8 export NODE_PATH 8 export NODE_PATH
9 9
10 if [ $UID != 0 ] 10 if [ $UID != 0 ]