Add /var/log (default log path) to ReadWritePaths of loolwsd.service (fixes GH #739)
Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I47e8a0983fd74656739498bf02bad117e821cfbfpull/696/head
parent
82287c2ad2
commit
3f81bfd987
|
@ -13,7 +13,7 @@ Restart=always
|
|||
LimitNOFILE=infinity:infinity
|
||||
|
||||
ProtectSystem=strict
|
||||
ReadWritePaths=/opt/lool
|
||||
ReadWritePaths=/opt/lool /var/log
|
||||
|
||||
ProtectHome=yes
|
||||
PrivateTmp=yes
|
||||
|
|
|
@ -13,7 +13,7 @@ Restart=always
|
|||
LimitNOFILE=infinity:infinity
|
||||
|
||||
ProtectSystem=strict
|
||||
ReadWritePaths=/opt/lool
|
||||
ReadWritePaths=/opt/lool /var/log
|
||||
|
||||
ProtectHome=yes
|
||||
PrivateTmp=yes
|
||||
|
|
|
@ -55,6 +55,7 @@
|
|||
See also: https://docs.libreoffice.org/sal/html/sal_log.html -->
|
||||
<lokit_sal_log type="string" desc="Fine tune log messages from LOKit. Default is to suppress log messages from LOKit." default="-INFO-WARN">-INFO-WARN</lokit_sal_log>
|
||||
<file enable="@LOOLWSD_LOG_TO_FILE@">
|
||||
<!-- If you use other path than /var/log and you run loolwsd from systemd, make sure that you enable that path in loolwsd.service (ReadWritePaths). -->
|
||||
<property name="path" desc="Log file path.">@LOOLWSD_LOGFILE@</property>
|
||||
<property name="rotation" desc="Log file rotation strategy. See Poco FileChannel.">never</property>
|
||||
<property name="archive" desc="Append either timestamp or number to the archived log filename.">timestamp</property>
|
||||
|
|
Loading…
Reference in New Issue