Commit graph

7 commits

Author SHA1 Message Date
Ashod Nakashian
688943906a service: improve stop and reload
SIGINT is the clean way of stopping
the service, while SIGTERM is be
the faster and rude way. So first
we want to use SIGINT and only when
we timeout do we want SIGTERM to
be used.

Here we ask systemd to stop WSD
by sending SIGINT and wait for 120
seconds. After that timeout, it will
assume the service is hung and needs
to be aborted. We expect that by then
we would have saved all documents and
cleanly exited. 120 seconds should be
sufficient time to save, close, and
upload the open documents.

Change-Id: I08321814db942d89a44cfce42885840f4afa279c
Reviewed-on: https://gerrit.libreoffice.org/81976
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2019-11-04 09:35:50 +01:00
Jan Holesovsky
3a03f50784 Revert "Adapt paths to new package name"
It is not a good idea to change the configuration directory, it will affect all the existing installations.

And the service is called loolwsd - so the configuration should be called that way too.

This reverts commit 9278574289.

Change-Id: I7e6eee644e21ad2dd842742585d16133ff8e36c9
Reviewed-on: https://gerrit.libreoffice.org/72730
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-05-22 12:06:06 +02:00
Samuel Mehrbrodt
9278574289 Adapt paths to new package name
After 1dbbc5acc7

Change-Id: I64a12fb13bc8f9371821b2d5969941bfddc2514a
Reviewed-on: https://gerrit.libreoffice.org/72728
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-05-22 10:27:33 +02:00
Andras Timar
ef23ab447d don't hardcode lo_template_path, use the setting from loolwsd.xml
Change-Id: Ibb18d70ee24fd5ceefdd937a406c2f168997d1aa
2017-03-20 23:29:15 +01:00
Andras Timar
b17d64a854 switch to 5.3
Change-Id: I21cf56f8d061453c4ff3f609ea81a5604e12b78c
2017-03-18 21:56:19 +01:00
Samuel Mehrbrodt
1f2d04a5e4 Online, not on-line
Change-Id: I93a8322dceca7c1ed95449c6aeb4ae854b982957
Reviewed-on: https://gerrit.libreoffice.org/33886
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-02-03 13:47:30 +00:00
Michael Meeks
cca657c8f2 Apply the pre-branch rename script to re-organize the source. 2016-11-25 09:58:48 +00:00
Renamed from loolwsd/loolwsd.service (Browse further)