summaryrefslogtreecommitdiffstats
path: root/recipes-sota/rvi-sota-client/files/sota-client-ostree.service
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-sota/rvi-sota-client/files/sota-client-ostree.service')
-rw-r--r--recipes-sota/rvi-sota-client/files/sota-client-ostree.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-sota/rvi-sota-client/files/sota-client-ostree.service b/recipes-sota/rvi-sota-client/files/sota-client-ostree.service
new file mode 100644
index 0000000..093a994
--- /dev/null
+++ b/recipes-sota/rvi-sota-client/files/sota-client-ostree.service
@@ -0,0 +1,13 @@
1[Unit]
2Description=SOTA Client
3Requires=network-online.target
4After=network.target network-online.target
5
6[Service]
7RestartSec=5
8Restart=on-failure
9Environment="RUST_LOG=debug"
10ExecStart=/usr/bin/sota_client --config /sysroot/boot/sota.toml --device-package-manager ostree
11
12[Install]
13WantedBy=multi-user.target