diff options
Diffstat (limited to 'recipes-sota/rvi-sota-client/files/sota-client-ostree.service')
| -rw-r--r-- | recipes-sota/rvi-sota-client/files/sota-client-ostree.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-sota/rvi-sota-client/files/sota-client-ostree.service b/recipes-sota/rvi-sota-client/files/sota-client-ostree.service new file mode 100644 index 0000000..093a994 --- /dev/null +++ b/recipes-sota/rvi-sota-client/files/sota-client-ostree.service | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=SOTA Client | ||
| 3 | Requires=network-online.target | ||
| 4 | After=network.target network-online.target | ||
| 5 | |||
| 6 | [Service] | ||
| 7 | RestartSec=5 | ||
| 8 | Restart=on-failure | ||
| 9 | Environment="RUST_LOG=debug" | ||
| 10 | ExecStart=/usr/bin/sota_client --config /sysroot/boot/sota.toml --device-package-manager ostree | ||
| 11 | |||
| 12 | [Install] | ||
| 13 | WantedBy=multi-user.target | ||
