mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
busybox: var-log-debug.service cosmetics
This commit is contained in:
parent
7c1fa5ed52
commit
9822f05a77
@ -10,8 +10,9 @@ ConditionPathExists=|/storage/.cache/debug.openelec
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStartPre=/bin/sh -c 'if [ ! -d /storage/log ]; then rm -rf /storage/log &>/dev/null; fi'
|
ExecStartPre=/bin/rm -rf /var/log
|
||||||
ExecStart=/bin/sh -c 'rm -rf /var/log && mkdir -p /storage/log/journal && ln -sf /storage/log /var/log'
|
ExecStartPre=-/bin/mkdir -p /storage/log/journal
|
||||||
|
ExecStart=-/bin/ln -sf /storage/log /var/log
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user