diff 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
line wrap: on
line diff
--- a/rlgwebd.service	Fri Jan 01 16:11:34 2016 -0500
+++ b/rlgwebd.service	Sat Jan 02 14:33:48 2016 -0500
@@ -6,8 +6,7 @@
 Type=simple
 Environment=NODE_PATH=/usr/lib/node_modules
 ExecStart=/usr/bin/node /usr/local/bin/rlgwebd.js
-ExecStop=/usr/bin/socat "EXEC:echo quit" /var/local/rlgwebd/ctl
-KillMode=none
+ExecStop=/usr/bin/node /usr/local/bin/rlgwebd-stop.js
 
 [Install]
 WantedBy=multi-user.target