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