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

@ -4,7 +4,7 @@ After=network.target syslog.target
[Service]
Type=simple
Environment=NODE_PATH=/usr/lib/node_modules
Environment=NODE_PATH=/var/local/lib/node_modules
ExecStart=/usr/local/bin/rlgwebd
ExecStop=/usr/local/bin/rlgwebd-stop
Restart=on-failure