blob: b42f348e26fd88fe5c0ca8515b8360c3c1423942 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
[Unit]
Description=Aktualizr SOTA Client
Wants=network-online.target slcand@ttyACM0.service
After=network.target network-online.target slcand@ttyACM0.service
Requires=network-online.target
[Service]
RestartSec=10
Restart=always
EnvironmentFile=/usr/lib/sota/sota.env
ExecStart=/bin/sh -c "(ip addr | grep can0) && /usr/bin/aktualizr $AKTUALIZR_CMDLINE_PARAMETERS"
[Install]
WantedBy=multi-user.target
|