выгрузка службы

This commit is contained in:
F7 Office Deploy 2026-02-25 23:09:27 +00:00
parent e9e93c9e02
commit b53f97c534
2 changed files with 26 additions and 0 deletions

2
service/README.txt Normal file
View File

@ -0,0 +1,2 @@
Служба coolwsd (systemd).
Установка: cp coolwsd.service /lib/systemd/system/ && systemctl daemon-reload && systemctl enable coolwsd

24
service/coolwsd.service Normal file
View File

@ -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