From 752b78b1e545f23c8e2fd1cfaf4cabd17cf78328 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 10 Jun 2021 07:56:09 -0400 Subject: [PATCH] just run python3 -u rpitx.py --- systemd/rpitx.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/systemd/rpitx.service b/systemd/rpitx.service index c58b7bd1..2f2feac2 100644 --- a/systemd/rpitx.service +++ b/systemd/rpitx.service @@ -3,8 +3,7 @@ Description=CubeSatSim rpitx service [Service] TimeoutStopSec=5 -EnvironmentFile=/home/pi/CubeSatSim/.mode -ExecStart=/home/pi/CubeSatSim/rpitx.sh $ARG1 +ExecStart=python3 -u /home/pi/CubeSatSim/rpitx.py WorkingDirectory=/home/pi/CubeSatSim StandardOutput=inherit StandardError=inherit