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