eole-collabora/posttemplate/00-loolwsd

18 lines
346 B
Bash
Executable File

#!/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