summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/files
diff options
context:
space:
mode:
authorPhil Wise <phil@advancedtelematic.com>2017-05-24 16:14:26 +0200
committerPhil Wise <phil@advancedtelematic.com>2017-05-24 17:10:17 +0200
commit1c53ba362775c6f658406ab3f2333cdee260de79 (patch)
tree7555665ecc38743f0a9dcaf899ad6e89d8eaf701 /recipes-sota/aktualizr/files
parent0bba62210d1f4d91b1e36f13d5669b606a8fabc6 (diff)
downloadmeta-updater-1c53ba362775c6f658406ab3f2333cdee260de79.tar.gz
Support Aktualizr in manual-provisioning mode
Aktualizr currently supports OSTree updates in non-autoprovisioned mode. Add a systemd service to run it in that mode. It uses the same location for the config file as rvi-sota-client (/sysroot/boot/sota.toml) Also, the aktualizr recipe is reformatted according to meta-openembedded/contrib/oe-stylize.py (which follows the OE styleguide)
Diffstat (limited to 'recipes-sota/aktualizr/files')
-rw-r--r--recipes-sota/aktualizr/files/aktualizr-manual-provision.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-sota/aktualizr/files/aktualizr-manual-provision.service b/recipes-sota/aktualizr/files/aktualizr-manual-provision.service
new file mode 100644
index 0000000..a70f2f9
--- /dev/null
+++ b/recipes-sota/aktualizr/files/aktualizr-manual-provision.service
@@ -0,0 +1,13 @@
1[Unit]
2Description=Aktualizr SOTA Client
3Wants=network-online.target
4After=network.target network-online.target
5Requires=network-online.target
6
7[Service]
8RestartSec=10
9Restart=always
10ExecStart=/usr/bin/aktualizr --config /sysroot/boot/sota.toml --loglevel 2
11
12[Install]
13WantedBy=multi-user.target