From 3e025618515b14bdd758841e26a88ab525522b24 Mon Sep 17 00:00:00 2001 From: Hermes Date: Wed, 30 Sep 2026 00:10:30 +0200 Subject: [PATCH] deploy: add Ground Station systemd unit --- deploy/groundstation.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 deploy/groundstation.service diff --git a/deploy/groundstation.service b/deploy/groundstation.service new file mode 100644 index 0000000..b6a2cfc --- /dev/null +++ b/deploy/groundstation.service @@ -0,0 +1,14 @@ +[Unit] +Description=Ground Station RC and video supervisor +Wants=graphical.target +After=graphical.target display-manager.service + +[Service] +Type=simple +User=root +ExecStart=/usr/local/bin/groundstation -serial /dev/ttyS0 -video-by-aux2=true +Restart=always +RestartSec=2 + +[Install] +WantedBy=graphical.target