diff Makefile @ 202:7f25bb89b59c

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.
author John "Elwin" Edwards
date Wed, 04 Jan 2017 20:28:29 -0500
parents 298a531776d6
children 6651f54a0062
line wrap: on
line diff
--- a/Makefile	Sun Jan 01 20:18:01 2017 -0500
+++ b/Makefile	Wed Jan 04 20:28:29 2017 -0500
@@ -23,6 +23,7 @@
 	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: