From e4d40828b47903758e9a882cb846c36c2dee7bbd Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 3 May 2020 16:00:13 -0400 Subject: [PATCH] Update test.service --- systemd/test.service | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/systemd/test.service b/systemd/test.service index a805b2fd..1c84d161 100644 --- a/systemd/test.service +++ b/systemd/test.service @@ -2,8 +2,9 @@ Description=Test service [Service] -Environment="SCRIPT_ARGS=%I" -ExecStart=/home/pi/CubeSatSim/radioafsk $SCRIPT_ARGS +EnvironmentFile=/home/pi/CubeSatSim/.progconfig +ExecStart = /usr/bin/prog $ARG1 $ARG2 +ExecStart=/home/pi/CubeSatSim/radioafsk $ARG1 $ARG2 WorkingDirectory=/home/pi/CubeSatSim StandardOutput=inherit StandardError=inherit