2017-04-07 16:43:32 +02:00
|
|
|
[Unit]
|
2020-10-02 10:53:04 +02:00
|
|
|
Description=Collabora Online WebSocket Daemon
|
2017-04-07 16:43:32 +02:00
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2021-11-18 13:08:14 +01:00
|
|
|
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
|
2020-11-17 05:46:34 +01:00
|
|
|
KillSignal=SIGINT
|
|
|
|
TimeoutStopSec=120
|
2021-11-15 17:26:31 +01:00
|
|
|
User=cool
|
2024-01-16 13:43:36 +01:00
|
|
|
KillMode=mixed
|
2017-04-07 16:43:32 +02:00
|
|
|
Restart=always
|
2020-11-17 05:46:34 +01:00
|
|
|
LimitNOFILE=infinity:infinity
|
|
|
|
|
|
|
|
ProtectSystem=strict
|
2021-11-15 16:57:33 +01:00
|
|
|
ReadWritePaths=/opt/cool /var/log
|
2020-11-17 05:46:34 +01:00
|
|
|
|
|
|
|
ProtectHome=yes
|
|
|
|
PrivateTmp=yes
|
|
|
|
ProtectControlGroups=yes
|
2021-01-06 11:39:01 +01:00
|
|
|
CapabilityBoundingSet=CAP_FOWNER CAP_CHOWN CAP_MKNOD CAP_SYS_CHROOT CAP_SYS_ADMIN
|
2017-04-07 16:43:32 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|