Commit graph

13 commits

Author SHA1 Message Date
Andras Timar
23fe1b3bc5 add CAP_CHOWN to systemd service files
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I3270cc1c435c419117cfa805a4db16ca4ef9a3ec
2021-01-06 11:39:01 +01:00
Andras Timar
3f81bfd987 Add /var/log (default log path) to ReadWritePaths of loolwsd.service (fixes GH #739)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I47e8a0983fd74656739498bf02bad117e821cfbf
2020-11-20 20:19:43 +01:00
Andras Timar
4b29a54803 loolmount requires cap_sys_admin
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic7df285bacc684af4167c8f2301118341e859d0f
2020-11-20 09:20:16 +01:00
Andras Timar
34bc966d68 change product name
Change-Id: Ic34d324c952364442d3f4f9f0758676ab57c8a9a
2020-10-02 14:18:28 +02:00
Michael Meeks
b38909bfa4 Remove default file descriptor limit.
Change-Id: I1b811bd2fbabaa7c23861b215dc254832d200324
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100134
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-08-04 20:43:03 +02:00
Martin Milata
40da3305b4 service: enable sandboxing options
See also https://www.freedesktop.org/software/systemd/man/systemd.exec.html#Sandboxing

Change-Id: I7ae1070c170db2f91dbeb177f03390a0b45143eb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88128
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-06-25 10:58:23 +02:00
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)