service.openelec.settings: dont try start backup-restore.service if no backup exist

This commit is contained in:
Stefan Saraev 2014-10-19 18:50:24 +03:00
parent f6ec97cec7
commit bef5be3b13

View File

@ -4,6 +4,7 @@ DefaultDependencies=false
After=show-version.service
Before=local-fs-pre.target shutdown.target
Conflicts=shutdown.target
ConditionPathExistsGlob=|/storage/.restore/*.tar
[Service]
Type=oneshot
@ -12,4 +13,3 @@ StandardOutput=tty
[Install]
WantedBy=local-fs-pre.target