Add a script to stop RLGWebD.

socat is no longer needed, nor is preventing systemd from sending
signals.
This commit is contained in:
John "Elwin" Edwards 2016-01-02 14:33:48 -05:00
parent ec5c79d46e
commit 9a709adc58
3 changed files with 15 additions and 3 deletions

View file

@ -6,8 +6,7 @@ After=network.target syslog.target
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