diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2020-03-16 11:59:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-16 11:59:42 +0100 |
commit | 1d581dd2fc4f8e1082ac20fc11153664ceec5963 (patch) | |
tree | df170cac499a41b6507ba7229fb98be66b6145b0 | |
parent | eab40862ab9c61cb1edd260d062d1a656f373698 (diff) | |
parent | de993c695f58924fe8ee2b10a5b30af38afc42d3 (diff) | |
download | meta-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.service | 3 | ||||
-rw-r--r-- | recipes-sota/aktualizr/files/aktualizr.service | 3 |
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] |
2 | Description=Aktualizr SOTA Client (UPTANE Secondary) | 2 | Description=Aktualizr SOTA Client (UPTANE Secondary) |
3 | After=network.target | 3 | After=network-online.target |
4 | Wants=network-online.target | ||
4 | 5 | ||
5 | [Service] | 6 | [Service] |
6 | RestartSec=10 | 7 | RestartSec=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] |
2 | Description=Aktualizr SOTA Client | 2 | Description=Aktualizr SOTA Client |
3 | After=network.target nss-lookup.target | 3 | After=network-online.target nss-lookup.target |
4 | Wants=network-online.target | ||
4 | 5 | ||
5 | [Service] | 6 | [Service] |
6 | RestartSec=10 | 7 | RestartSec=10 |