diff options
author | Phil Wise <phil@advancedtelematic.com> | 2018-03-14 16:00:53 +0100 |
---|---|---|
committer | Phil Wise <phil@advancedtelematic.com> | 2018-03-14 16:00:53 +0100 |
commit | 66a4721d0b7885a18db952d69f7ee385a95b2f2b (patch) | |
tree | 435221c02bad0e8ba4d89350d3c98efaf8be5d53 /recipes-sota/aktualizr/files/aktualizr-secondary.service | |
parent | bbce1809a921e627678947e9585ea15223b181d9 (diff) | |
download | meta-updater-66a4721d0b7885a18db952d69f7ee385a95b2f2b.tar.gz |
Add systemd socket activation for secondary
Diffstat (limited to 'recipes-sota/aktualizr/files/aktualizr-secondary.service')
-rw-r--r-- | recipes-sota/aktualizr/files/aktualizr-secondary.service | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-sota/aktualizr/files/aktualizr-secondary.service b/recipes-sota/aktualizr/files/aktualizr-secondary.service new file mode 100644 index 0000000..a1e0e1b --- /dev/null +++ b/recipes-sota/aktualizr/files/aktualizr-secondary.service | |||
@@ -0,0 +1,9 @@ | |||
1 | [Unit] | ||
2 | Description=Aktualizr SOTA Client (UPTANE Secondary) | ||
3 | |||
4 | [Service] | ||
5 | RestartSec=10 | ||
6 | Restart=always | ||
7 | EnvironmentFile=-/etc/sota/sota.env | ||
8 | ExecStart=/usr/bin/aktualizr-secondary --config /usr/lib/sota/sota_secondary.toml | ||
9 | |||