diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-04-10 12:10:06 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-06-17 13:21:28 +0200 |
commit | 87264e4f720ba71cf2e57c5a4afd3a1f473ef2e2 (patch) | |
tree | f0606e530561e22308df45d69975218e066954dc /install/ishtar-install | |
parent | a05c85388c77ebe08e3ee18104c800824343008f (diff) | |
download | Ishtar-87264e4f720ba71cf2e57c5a4afd3a1f473ef2e2.tar.bz2 Ishtar-87264e4f720ba71cf2e57c5a4afd3a1f473ef2e2.zip |
Libreoffice install script, service and settings
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 "*******************************************************************************" |