Add a script to stop RLGWebD.

socat is no longer needed, nor is preventing systemd from sending
signals.
This commit is contained in:
John "Elwin" Edwards 2016-01-02 14:33:48 -05:00
parent ec5c79d46e
commit 9a709adc58
3 changed files with 15 additions and 3 deletions

View file

@ -1,4 +1,5 @@
CHROOT=/var/dgl
BINDIR=/usr/local/bin
WEBASSETS = about.html bell.svg index.html options.html options.js rlgterm.js \
style-rlg.css termemu.js termemu-keys.js tty.css
@ -18,7 +19,7 @@ install: all
mkdir -p ${CHROOT}/bin
cp sqlickrypt dglwatcher ${CHROOT}/bin
for LIB in `ldd ./sqlickrypt | awk '$$1 ~ "^/" {print $$1}; $$3 ~ "^/" {print $$3}'`; do mkdir -p ${CHROOT}`dirname $$LIB`; cp $$LIB ${CHROOT}$$LIB; done
cp rlgwebd.js /usr/local/bin/rlgwebd.js
cp rlgwebd.js rlgwebd-stop.js ${BINDIR}
mkdir -p /var/local/rlgwebd
cp ${WEBASSETS} ${CHROOT}/var/www
cp rlgwebd.service /usr/lib/systemd/system