15 lines
390 B
SYSTEMD

[Unit]
Description=Persistent Log Storage
RequiresMountsFor=/var /storage
Requires=storage-log.service
After=storage-log.service
ConditionKernelCommandLine=!installer
ConditionKernelCommandLine=|debugging
ConditionPathExists=|/storage/.cache/debug.libreelec
ConditionPathExists=|/storage/.cache/journald.conf.d/00_settings.conf
[Mount]
What=/storage/.cache/log
Where=/var/log
Options=bind