comparison rlgwebd.service @ 193:80ca029f0906

Add a script to stop RLGWebD. socat is no longer needed, nor is preventing systemd from sending signals.
author John "Elwin" Edwards
date Sat, 02 Jan 2016 14:33:48 -0500
parents addc4e3456c4
children 3bdee6371c3f
comparison
equal deleted inserted replaced
192:addc4e3456c4 193:80ca029f0906
4 4
5 [Service] 5 [Service]
6 Type=simple 6 Type=simple
7 Environment=NODE_PATH=/usr/lib/node_modules 7 Environment=NODE_PATH=/usr/lib/node_modules
8 ExecStart=/usr/bin/node /usr/local/bin/rlgwebd.js 8 ExecStart=/usr/bin/node /usr/local/bin/rlgwebd.js
9 ExecStop=/usr/bin/socat "EXEC:echo quit" /var/local/rlgwebd/ctl 9 ExecStop=/usr/bin/node /usr/local/bin/rlgwebd-stop.js
10 KillMode=none
11 10
12 [Install] 11 [Install]
13 WantedBy=multi-user.target 12 WantedBy=multi-user.target