diff --git a/content/post/building-libreoffice-online-for-debian.md b/content/post/building-libreoffice-online-for-debian.md index ab726d7..f412723 100644 --- a/content/post/building-libreoffice-online-for-debian.md +++ b/content/post/building-libreoffice-online-for-debian.md @@ -333,7 +333,7 @@ Last-Update: 2017-06-23 ``` -One final tweak to perform is to edit the systemd unit file to point to the `libreoffice` templates directory rather than the Collabora one, and change the Red Hat-specific `EnvironmentFile` directive to the Debian one. +One final tweak to perform is to edit the systemd unit file to point to the `libreoffice` templates directory rather than the Collabora one, and change the Red Hat-specific `EnvironmentFile` directive to the Debian one (which isn't installed by default but can be used if needed). ``` $ vim debian/loolwsd.service @@ -412,7 +412,7 @@ $ vim debian/loolwsd.service @@ -4,7 +4,7 @@ After=network.target [Service] - EnvironmentFile=-/etc/sysconfig/loolwsd + EnvironmentFile=-/etc/default/loolwsd -ExecStart=/usr/bin/loolwsd --version --o:sys_template_path=/opt/lool/systemplate --o:lo_template_path=/usr/lib/libreoffice --o:child_root_path=/opt/lool/child-roots --o:file_server_root_path=/usr/share/loolwsd +ExecStart=/usr/bin/loolwsd --version --o:sys_template_path=/srv/lool/systemplate --o:lo_template_path=/usr/lib/libreoffice --o:child_root_path=/srv/lool/child-roots --o:file_server_root_path=/usr/share/loolwsd User=lool