view 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
line wrap: on
line source

[Unit]
Description=RLGWebD app daemon
After=network.target syslog.target

[Service]
Type=simple
Environment=NODE_PATH=/var/local/lib/node_modules
ExecStart=/usr/local/bin/rlgwebd
ExecStop=/usr/local/bin/rlgwebd-stop
Restart=on-failure

[Install]
WantedBy=multi-user.target