2015-06-01 11:53:29 -05:00
|
|
|
[Unit]
|
2017-02-03 07:28:48 -06:00
|
|
|
Description=LibreOffice Online WebSocket Daemon
|
2015-06-01 11:53:29 -05:00
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
EnvironmentFile=-/etc/sysconfig/loolwsd
|
2019-05-22 03:41:25 -05:00
|
|
|
ExecStart=/usr/bin/loolwsd --version --o:sys_template_path=/opt/lool/systemplate --o:child_root_path=/opt/lool/child-roots --o:file_server_root_path=/usr/share/loolwsd
|
2019-11-01 10:32:23 -05:00
|
|
|
KillSignal=SIGINT
|
|
|
|
TimeoutStopSec=120
|
2015-06-01 11:53:29 -05:00
|
|
|
User=lool
|
2015-11-09 06:01:24 -06:00
|
|
|
KillMode=control-group
|
2015-06-01 11:53:29 -05:00
|
|
|
Restart=always
|
|
|
|
|
2020-02-06 11:43:58 -06:00
|
|
|
ProtectSystem=strict
|
|
|
|
ReadWritePaths=/opt/lool
|
|
|
|
|
|
|
|
ProtectHome=yes
|
|
|
|
PrivateTmp=yes
|
|
|
|
ProtectControlGroups=yes
|
|
|
|
CapabilityBoundingSet=CAP_FOWNER CAP_MKNOD CAP_SYS_CHROOT
|
|
|
|
|
2015-06-01 11:53:29 -05:00
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|