diff options
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 | ||
