2021-08-13 18:53:18 +08:00
|
|
|
[Unit]
|
|
|
|
Description=LibreOffice
|
|
|
|
After=network.target
|
2022-02-15 01:49:11 +08:00
|
|
|
PartOf=bigbluebutton.target
|
2021-08-13 18:53:18 +08:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
ExecStart=/usr/lib/libreoffice/program/soffice.bin --headless \
|
|
|
|
--nologo --nofirststartwizard '--accept=socket,host=127.0.0.1,port=8100;urp' --pidfile=/var/run/soffice.pid
|
|
|
|
Restart=always
|
|
|
|
|
|
|
|
MemoryLimit=1G
|
|
|
|
CPUQuota=20%
|
|
|
|
|
|
|
|
[Install]
|
2022-02-15 01:49:11 +08:00
|
|
|
WantedBy=multi-user.target bigbluebutton.target
|