diff options
| author | cajun-rat <p@beta16.co.uk> | 2017-07-25 14:47:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-25 14:47:51 +0200 |
| commit | ea1c3a48c1fa417d4dc4da7260069e60596bdb1b (patch) | |
| tree | 3360c0e6d7fe563e8d07581ca5815447cce1dfcb /recipes-sota/rvi-sota-client/files/sota-client-uptane.service | |
| parent | 3c0ab61288f076dba4af4a303fa29ffcba0e4400 (diff) | |
| parent | 2c43ed02320350056a671c87188f3edfd2612a54 (diff) | |
| download | meta-updater-ea1c3a48c1fa417d4dc4da7260069e60596bdb1b.tar.gz | |
Merge pull request #108 from leon-anavi/pyro
Pyro
Diffstat (limited to 'recipes-sota/rvi-sota-client/files/sota-client-uptane.service')
| -rw-r--r-- | recipes-sota/rvi-sota-client/files/sota-client-uptane.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-sota/rvi-sota-client/files/sota-client-uptane.service b/recipes-sota/rvi-sota-client/files/sota-client-uptane.service new file mode 100644 index 0000000..a2d80ce --- /dev/null +++ b/recipes-sota/rvi-sota-client/files/sota-client-uptane.service | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=SOTA Client | ||
| 3 | Requires=network-online.target | ||
| 4 | After=network.target network-online.target | ||
| 5 | Requires=sota-client-autoprovision | ||
| 6 | After=sota-client-autoprovision | ||
| 7 | |||
| 8 | [Service] | ||
| 9 | RestartSec=5 | ||
| 10 | Restart=on-failure | ||
| 11 | Environment="RUST_LOG=debug" | ||
| 12 | ExecStart=/usr/bin/sota_client --config /var/sota/sota.toml --device-package-manager uptane | ||
| 13 | |||
| 14 | [Install] | ||
| 15 | WantedBy=multi-user.target | ||
