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.
This commit is contained in:
John "Elwin" Edwards 2017-12-26 13:23:55 -05:00
parent 4059bf2983
commit 4940bf86ae
3 changed files with 9 additions and 12 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
NODE_PATH=/usr/lib/node_modules
NODE_PATH=/var/local/lib/node_modules
LOGFILE=/var/log/rlgwebd.log
CTLSOCKET=/var/run/rlgwebd/rlgwebd.sock
RLGWEBDJS=/usr/local/bin/rlgwebd