comparison rlgwebd @ 194:5483d413a45b

RLGWebD: move the control socket into /var/run. This is a more standard location. /run is preferred by systemd, but portability to non-systemd systems is important.
author John "Elwin" Edwards
date Thu, 14 Jan 2016 19:10:46 -0500
parents 1a156a7746a7
children
comparison
equal deleted inserted replaced
193:80ca029f0906 194:5483d413a45b
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/local/rlgwebd/log 4 LOGFILE=/var/local/rlgwebd/log
5 CTLSOCKET=/var/local/rlgwebd/ctl 5 CTLSOCKET=/var/run/rlgwebd.sock
6 RLGWEBDJS=./rlgwebd.js 6 RLGWEBDJS=./rlgwebd.js
7 7
8 export NODE_PATH 8 export NODE_PATH
9 9
10 if [ $UID != 0 ] 10 if [ $UID != 0 ]