Commit graph

7 commits

Author SHA1 Message Date
John "Elwin" Edwards
c824ea924c Fix syntax error in Makefile. 2017-01-12 19:02:20 -05:00
John "Elwin" Edwards
61ddb2eaea Move RLGWebD configuration options into a configuration file.
On startup, rlgwebd now reads /etc/rlgwebd.conf.  If the options for
HTTPS are not found, it will only use HTTP.
2017-01-04 20:28:29 -05:00
John "Elwin" Edwards
3b00718e59 Add an uninstall target to the Makefile.
Also a fix to the install target, and the initscript.
2016-01-14 21:30:14 -05: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
ff0814c7ac RLGWebD: move the control socket into /var/run.
This is a more standard location.  /run is preferred by systemd, but
portability to non-systemd systems is important.
2016-01-14 19:10:46 -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