Add a script to stop RLGWebD.
socat is no longer needed, nor is preventing systemd from sending signals.
This commit is contained in:
parent
ec5c79d46e
commit
9a709adc58
3 changed files with 15 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue