install-osrf.sh: clear out existing apache-websocket install
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Tue, 12 Jun 2018 18:51:08 +0000 (11:51 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Tue, 12 Jun 2018 18:51:08 +0000 (11:51 -0700)
deployment/install-osrf.sh

index f313c71..a34830e 100755 (executable)
@@ -132,6 +132,7 @@ echo "OpenSRF is installed!"
 # XXX a valid SSL cert is required!
 if [[ ! -n "$SKIP_WEBSOCKETS" ]] ; then
   rm -r /tmp/apache-websocket
+  rm -r /etc/apache2-websockets /etc/init.d/apache2-websockets /usr/local/sbin/*-websockets /var/log/apache2-websockets/ /etc/logrotate.d/apache2-websockets
   cd /tmp && git clone https://github.com/disconnect/apache-websocket
   cd apache-websocket && apxs2 -i -a -c mod_websocket.c
   sh /usr/share/doc/apache2/examples/setup-instance websockets