From b53f97c5347f86e645030e1e1597ee0d08a2b036 Mon Sep 17 00:00:00 2001 From: F7 Office Deploy Date: Wed, 25 Feb 2026 23:09:27 +0000 Subject: [PATCH] =?UTF-8?q?=D0=B2=D1=8B=D0=B3=D1=80=D1=83=D0=B7=D0=BA?= =?UTF-8?q?=D0=B0=20=D1=81=D0=BB=D1=83=D0=B6=D0=B1=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/README.txt | 2 ++ service/coolwsd.service | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 service/README.txt create mode 100644 service/coolwsd.service diff --git a/service/README.txt b/service/README.txt new file mode 100644 index 0000000..5dc956b --- /dev/null +++ b/service/README.txt @@ -0,0 +1,2 @@ +Служба coolwsd (systemd). +Установка: cp coolwsd.service /lib/systemd/system/ && systemctl daemon-reload && systemctl enable coolwsd diff --git a/service/coolwsd.service b/service/coolwsd.service new file mode 100644 index 0000000..fcb90df --- /dev/null +++ b/service/coolwsd.service @@ -0,0 +1,24 @@ +[Unit] +Description=Collabora Online WebSocket Daemon +After=network.target + +[Service] +EnvironmentFile=-/etc/sysconfig/coolwsd +ExecStart=/usr/bin/coolwsd --version --o:sys_template_path=/opt/cool/systemplate --o:child_root_path=/opt/cool/child-roots --o:file_server_root_path=/usr/share/coolwsd --o:cache_files.path=/opt/cool/cache +KillSignal=SIGINT +TimeoutStopSec=120 +User=cool +KillMode=mixed +Restart=always +LimitNOFILE=infinity:infinity + +ProtectSystem=strict +ReadWritePaths=/opt/cool /var/log + +ProtectHome=yes +PrivateTmp=yes +ProtectControlGroups=yes +CapabilityBoundingSet=CAP_FOWNER CAP_CHOWN CAP_SYS_CHROOT CAP_SYS_ADMIN + +[Install] +WantedBy=multi-user.target