summaryrefslogtreecommitdiffstats
path: root/recipes-sota/rvi-sota-client/files/sota-client-ostree.service
diff options
context:
space:
mode:
authorcajun-rat <p@beta16.co.uk>2017-08-04 16:28:15 +0200
committerGitHub <noreply@github.com>2017-08-04 16:28:15 +0200
commitba233570a3a380c62a7fb31ad00b9a7a3fd4b42e (patch)
tree7272786cd44f933738455638d5969630b04cfb1d /recipes-sota/rvi-sota-client/files/sota-client-ostree.service
parent7643e4da141c10bcb017d7a216512febe08da68a (diff)
parent621c2c6f2480b9e8f8b7bb6e6453c777952aa10e (diff)
downloadmeta-updater-ba233570a3a380c62a7fb31ad00b9a7a3fd4b42e.tar.gz
Merge pull request #116 from leon-anavi/krogoth
Krogoth
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