Commit graph

5 commits

Author SHA1 Message Date
John "Elwin" Edwards
4940bf86ae Move the NODE_PATH location.
Modules are now expected to be in /var/local/lib/node_modules.  This is
intended to make it easier to avoid running npm as root.
2017-12-26 13:23:55 -05:00
John "Elwin" Edwards
2baaad79dd Actually restart RLGWebD if it crashes.
Also, rlgwebd-stop will no longer crash if RLGWebD has already stopped.
2016-04-23 18:53:08 -04:00
John "Elwin" Edwards
6457f18b36 Change various filenames.
The shell script previously used to launch the daemon is now called
"initscript".  The script files have had the ".js" extension removed
from their names.
2016-01-14 20:52:29 -05:00
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