diff options
Diffstat (limited to 'run/sota_client.service')
-rw-r--r-- | run/sota_client.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/run/sota_client.service b/run/sota_client.service new file mode 100644 index 0000000..53016bd --- /dev/null +++ b/run/sota_client.service @@ -0,0 +1,15 @@ +[Unit] +Description=SOTA Client +Wants=network-online.target +After=network.target network-online.target +Requires=network-online.target + +[Service] +RestartSec=5 +Restart=on-failure +Environment="RUST_LOG=info" +DefaultTimeoutStopSec=5 +ExecStart=/usr/bin/sota_client --config /etc/sota.toml + +[Install] +WantedBy=multi-user.target |