mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 20:56:55 +00:00
service.openelec.settings: dont try start backup-restore.service if no backup exist
This commit is contained in:
parent
f6ec97cec7
commit
bef5be3b13
@ -4,6 +4,7 @@ DefaultDependencies=false
|
|||||||
After=show-version.service
|
After=show-version.service
|
||||||
Before=local-fs-pre.target shutdown.target
|
Before=local-fs-pre.target shutdown.target
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
|
ConditionPathExistsGlob=|/storage/.restore/*.tar
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
@ -12,4 +13,3 @@ StandardOutput=tty
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=local-fs-pre.target
|
WantedBy=local-fs-pre.target
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user