Commit graph

2 commits

Author SHA1 Message Date
John "Elwin" Edwards
9a709adc58 Add a script to stop RLGWebD.
socat is no longer needed, nor is preventing systemd from sending
signals.
2016-01-02 14:33:48 -05:00
John "Elwin" Edwards
ec5c79d46e Begin adding systemd compatibility.
The Makefile can be used to build and install rlgwebd.  On systems with
systemd, the unit file controls starting and stopping the service, and
the shell script is not needed.

The unit file uses KillMode=none because socat does not actually stop
rlgwebd, it only asks it to stop and exits without waiting for a
response.  Until a better stopping method is introduced, this setting
prevents systemd from killing all the rlgwebd processes as soon as
socat exits.
2016-01-01 16:11:34 -05:00