summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2020-03-16 11:59:42 +0100
committerGitHub <noreply@github.com>2020-03-16 11:59:42 +0100
commit1d581dd2fc4f8e1082ac20fc11153664ceec5963 (patch)
treedf170cac499a41b6507ba7229fb98be66b6145b0
parenteab40862ab9c61cb1edd260d062d1a656f373698 (diff)
parentde993c695f58924fe8ee2b10a5b30af38afc42d3 (diff)
downloadmeta-updater-1d581dd2fc4f8e1082ac20fc11153664ceec5963.tar.gz
Merge pull request #697 from advancedtelematic/fix/primary-secondary-communication/wait-till-network-up
fix: run aktualizr service after network is online
-rw-r--r--recipes-sota/aktualizr/files/aktualizr-secondary.service3
-rw-r--r--recipes-sota/aktualizr/files/aktualizr.service3
2 files changed, 4 insertions, 2 deletions
diff --git a/recipes-sota/aktualizr/files/aktualizr-secondary.service b/recipes-sota/aktualizr/files/aktualizr-secondary.service
index b577ae8..fb610f9 100644
--- a/recipes-sota/aktualizr/files/aktualizr-secondary.service
+++ b/recipes-sota/aktualizr/files/aktualizr-secondary.service
@@ -1,6 +1,7 @@
1[Unit] 1[Unit]
2Description=Aktualizr SOTA Client (UPTANE Secondary) 2Description=Aktualizr SOTA Client (UPTANE Secondary)
3After=network.target 3After=network-online.target
4Wants=network-online.target
4 5
5[Service] 6[Service]
6RestartSec=10 7RestartSec=10
diff --git a/recipes-sota/aktualizr/files/aktualizr.service b/recipes-sota/aktualizr/files/aktualizr.service
index b6f0980..3d807a1 100644
--- a/recipes-sota/aktualizr/files/aktualizr.service
+++ b/recipes-sota/aktualizr/files/aktualizr.service
@@ -1,6 +1,7 @@
1[Unit] 1[Unit]
2Description=Aktualizr SOTA Client 2Description=Aktualizr SOTA Client
3After=network.target nss-lookup.target 3After=network-online.target nss-lookup.target
4Wants=network-online.target
4 5
5[Service] 6[Service]
6RestartSec=10 7RestartSec=10