Skip to content

Commit 43438b7

Browse files
committed
Use /var/sota/sota.toml to disable compose-apps-early-start
1 parent ae196fd commit 43438b7

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[Unit]
2+
Description=Ensure apps are configured and running as early as possible
3+
Wants=docker.service
4+
After=docker.service
5+
Before=lmp-device-auto-register.service
6+
StartLimitBurst=2
7+
OnFailure=compose-apps-early-start-recovery.service
8+
ConditionPathExists=!/var/sota/sota.toml
9+
10+
[Service]
11+
Type=oneshot
12+
RemainAfterExit=true
13+
ExecStart=/usr/bin/compose-apps-early-start
14+
Restart=on-failure
15+
16+
[Install]
17+
WantedBy=multi-user.target

0 commit comments

Comments
 (0)