diff options
Diffstat (limited to 'install/ishtar-install')
-rwxr-xr-x | install/ishtar-install | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/install/ishtar-install b/install/ishtar-install index 9a84114ba..77d049b7a 100755 --- a/install/ishtar-install +++ b/install/ishtar-install @@ -477,6 +477,10 @@ EOF if [ "$install_libreoffice" == 'yes' ]; then ( set -x; $sh_c 'sleep 3; apt-get --no-install-recommends install -y -q \ libreoffice libreoffice-script-provider-python python3-uno' ) + cp "install/libreoffice.service" "/etc/systemd/system/libreoffice.service" + systemctl daemon-reload + systemctl enable libreoffice + systemctl start libreoffice fi if [ "$install_celery" == 'yes' ]; then @@ -546,6 +550,9 @@ EOF if [ "$install_celery" == 'yes' ]; then echo "USE_CELERY="$install_celery >> $etc_path"config" fi + if [ "$install_libreoffice" == 'yes' ]; then + echo "USE_LIBREOFFICE=yes" >> $etc_path"config" + fi echo "# settings added to all instances" >> $etc_path"extra_settings.py" echo "" cecho g "*******************************************************************************" |