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:
parent
4059bf2983
commit
4940bf86ae
3 changed files with 9 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue