eole-collabora/posttemplate/00-loolwsd

18 lines
346 B
Plaintext
Raw Permalink Normal View History

2020-08-14 14:06:36 +02:00
#!/bin/bash
set -e
#. /usr/lib/eole/utils.sh
#
#InstallSSLFiles loolwsd lool lool /etc/loolwsd/
if [ "$(CreoleGet activer_apache)" = "oui" ]; then
a2enconf loolwsd
a2enmod proxy proxy_wstunnel proxy_http
rm -f /etc/nginx/web.d/loolwsd.conf
else
ln -nsf /etc/nginx/snippets/loolwsd.conf /etc/nginx/web.d/loolwsd.conf
fi
exit 0