From e1c38f4dc744d524b459d66baa8656282a8c7089 Mon Sep 17 00:00:00 2001 From: FReenen Date: Thu, 15 Aug 2024 14:13:57 +0200 Subject: [PATCH] gs: add systemd service file --- rcrf-gs.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 rcrf-gs.service diff --git a/rcrf-gs.service b/rcrf-gs.service new file mode 100644 index 0000000..7f0d64a --- /dev/null +++ b/rcrf-gs.service @@ -0,0 +1,15 @@ +[Unit] +Description=rcrf ground station +After=network-online.target + +[Install] +WantedBy=multi-user.target + +[Service] +Type=simple +User=root +RemainAfterExit=yes +WorkingDirectory=/opt/rfrc-wifi +ExecStart=/usr/bin/python3 /opt/rfrc-wifi/ground-station.py +Restart=always +RestartSec=10 \ No newline at end of file