Mercurial > hg > rlgwebd
comparison rlgwebd.service @ 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 | a7cc38a0168d |
| children |
comparison
equal
deleted
inserted
replaced
| 208:f06f2d1a5035 | 209:2667aaad8e08 |
|---|---|
| 2 Description=RLGWebD app daemon | 2 Description=RLGWebD app daemon |
| 3 After=network.target syslog.target | 3 After=network.target syslog.target |
| 4 | 4 |
| 5 [Service] | 5 [Service] |
| 6 Type=simple | 6 Type=simple |
| 7 Environment=NODE_PATH=/usr/lib/node_modules | 7 Environment=NODE_PATH=/var/local/lib/node_modules |
| 8 ExecStart=/usr/local/bin/rlgwebd | 8 ExecStart=/usr/local/bin/rlgwebd |
| 9 ExecStop=/usr/local/bin/rlgwebd-stop | 9 ExecStop=/usr/local/bin/rlgwebd-stop |
| 10 Restart=on-failure | 10 Restart=on-failure |
| 11 | 11 |
| 12 [Install] | 12 [Install] |
