view rlgwebd.service @ 194:5483d413a45b

RLGWebD: move the control socket into /var/run. This is a more standard location. /run is preferred by systemd, but portability to non-systemd systems is important.
author John "Elwin" Edwards
date Thu, 14 Jan 2016 19:10:46 -0500
parents 80ca029f0906
children 3bdee6371c3f
line wrap: on
line source

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

[Service]
Type=simple
Environment=NODE_PATH=/usr/lib/node_modules
ExecStart=/usr/bin/node /usr/local/bin/rlgwebd.js
ExecStop=/usr/bin/node /usr/local/bin/rlgwebd-stop.js

[Install]
WantedBy=multi-user.target