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.
This commit is contained in:
John "Elwin" Edwards 2017-01-04 20:28:29 -05:00
parent 37bd2e8c28
commit 61ddb2eaea
3 changed files with 76 additions and 31 deletions

View file

@ -23,6 +23,7 @@ install: all
mkdir -p ${CHROOT}/var/www
cp ${WEBASSETS} ${CHROOT}/var/www
cp rlgwebd.service /usr/lib/systemd/system
if test ! -f /etc/rlgwebd.conf; cp rlgwebd.conf /etc; fi
# Libraries are not removed. Something else might be using them.
uninstall: