No description
Find a file
Ashod Nakashian e1ff82324e docker: exec the startup script to intercept SIGTERM
Docker supports two methods of executing commands.
The existing approach was to run bash and give the
shell script to execute, which forks and execs another
shell instance to run the script. This means that the
script itself is not PID 1, rather the parent bash
instance is.
The second approach is to exec the script in the same
bash process, without a parent. This is exactly what
we want, because once our script is done, it execs
loolwsd, thereby making loolwsd PID 1.

All of this means that when the docker container is
stopped, and PID 1 is sent SIGTERM, loolwsd will
intercept it and gracefully shutdown.

Change-Id: I52ac63f7fba58d20d1c6f63c7e07dd18141c1af4
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-10-12 09:36:33 +02:00
.git-hooks
.github Update GH Welcome message: ping Pedro instead 2021-08-20 11:27:22 +02:00
.gitpod-files Add default vscode settings for Gitpod 2021-07-13 12:38:31 +03:00
android Translated using Weblate (Swedish) 2021-10-06 17:19:14 +02:00
common Move LOOLWebSocket into test/ - where it can be slowly removed. 2021-10-11 13:40:20 +01:00
cypress_test add cypress test for sheet-switch view area fix 2021-10-12 12:29:09 +05:30
debian we may need collaboraofficebasis6.4-math for displaying formulas in documents 2021-09-22 19:38:25 +02:00
docker docker: exec the startup script to intercept SIGTERM 2021-10-12 09:36:33 +02:00
etc
fuzzer log: don't try to get the channel of a non-existing logger 2021-07-15 09:01:16 +02:00
gtk
indexing Proof of concept Search WebApp to show how to implement doc. search 2021-09-13 10:36:15 +02:00
ios Make it possible to build the iOS app against core master 2021-09-27 16:31:58 +03:00
kit kit: fix status indicator finish 2021-10-04 10:08:58 +02:00
kubernetes/helm kubernetes: added nginx ingress config 2021-09-29 22:32:00 +02:00
loleaflet add cypress test for sheet-switch view area fix 2021-10-12 12:29:09 +05:30
man Fix Lintian warnings related to man pages 2021-09-29 21:34:41 +02:00
net stress: store and dump some statistics. 2021-10-02 21:24:15 +01:00
scripts
test Move LOOLWebSocket into test/ - where it can be slowly removed. 2021-10-11 13:40:20 +01:00
tools Move LOOLWebSocket into test/ - where it can be slowly removed. 2021-10-11 13:40:20 +01:00
wsd make theme specifying possible through richdocuments 2021-10-11 19:45:20 +05:30
.cirrus.yml we have to add pango back... dependency of node_modules/canvas 2021-09-16 14:00:21 +02:00
.clang-format
.clang-tidy
.gitignore updated .gitignore 2021-10-04 10:08:58 +02:00
.gitpod.dockerfile
.gitpod.yml Gitpod: what to do after a major release 2021-08-20 11:27:22 +02:00
AUTHORS
autogen.sh
browsersync-config.js
ChangeLog
CODE_OF_CONDUCT.md
configure.ac Add fourth number to LOOLWSD versioning 2021-09-28 11:14:28 +02:00
CONTRIBUTING.md
coolstress.in
COPYING
discovery.xml
favicon.ico
g Use custom local branch name as explicit remote user branch name for PR 2021-07-16 08:53:58 +02:00
loolkitconfig-mobile.xcu
loolkitconfig.xcu.in
loolwsd-generate-proof-key
loolwsd-systemplate-setup
loolwsd.init.rhel6
loolwsd.service
loolwsd.spec.in Fix Lintian warnings related to man pages 2021-09-29 21:34:41 +02:00
loolwsd.xml.in wsd: configuration setting to control embedded-url hexifying 2021-09-13 09:40:09 -04:00
Makefile.am Move LOOLWebSocket into test/ - where it can be slowly removed. 2021-10-11 13:40:20 +01:00
NEWS
PROBLEMS
README.CONTRIBUTING.md
README.md
SECURITY.md
sysconfig.loolwsd
trace-event.sample2.json

Collabora Online

irc Telegram Forum Website L10n Gitpod Ready-to-Code

LibreOffice in the Cloud on your own Terms

Key features

  • View and edit text documents, spreadsheets, presentations & more
  • Collaborative editing features
  • Works in any modern browser no plugin needed
  • Open Source

Website

For many more details, build instructions, downloads and more please visit https://collaboraonline.github.io/

Developer assistance

Please ask your questions on irc.libera.chat in our #cool-dev channel

Join the conversation on our Discourse server at https://forum.collaboraonline.com/

Watch the tinderbox status (if it's green) at https://cpci.cbg.collabora.co.uk:8080/view/Tinderbox/job/Tinderbox%20for%20online%20master/

Development bits

This project has several components:

  • wsd/
    • The Web Services Daemon - which accepts external connections
  • kit/
    • The client which lives in its own chroot and renders documents
  • common/
    • Shared code between these processes
  • loleaflet/
    • The client side JavaScript component
  • test/
    • C++ based unit tests
  • cypress_test/
    • JavaScript based integration tests

Please consult the README files in the component's directory for more details:

  • wsd/README
  • loleaflet/README

iOS and Android apps

See the corresponding READMEs:

  • ios/README
  • android/README

Enjoy!