Mercurial > hg > rlgwebd
comparison initscript @ 209:2667aaad8e08
Move the NODE_PATH location.
Modules are now expected to be in /var/local/lib/node_modules.  This is
intended to make it easier to avoid running npm as root.
| author | John "Elwin" Edwards | 
|---|---|
| date | Tue, 26 Dec 2017 13:23:55 -0500 | 
| parents | f06f2d1a5035 | 
| children | 
   comparison
  equal
  deleted
  inserted
  replaced
| 208:f06f2d1a5035 | 209:2667aaad8e08 | 
|---|---|
| 1 #!/bin/sh | 1 #!/bin/sh | 
| 2 | 2 | 
| 3 NODE_PATH=/usr/lib/node_modules | 3 NODE_PATH=/var/local/lib/node_modules | 
| 4 LOGFILE=/var/log/rlgwebd.log | 4 LOGFILE=/var/log/rlgwebd.log | 
| 5 CTLSOCKET=/var/run/rlgwebd/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 | 
