From b90bef70b302d619e2e2642960dbce3f86f299cd Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Mon, 12 Jul 2021 14:46:24 -0400 Subject: [PATCH] Create flight.service --- systemd/flight.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 systemd/flight.service diff --git a/systemd/flight.service b/systemd/flight.service new file mode 100644 index 00000000..99f25d41 --- /dev/null +++ b/systemd/flight.service @@ -0,0 +1,14 @@ +[Unit] +Description=camera service + +[Service] +TimeoutStopSec=5 +ExecStart=/home/pi/CubeSatSim/flight.sh +WorkingDirectory=/home/pi/CubeSatSim +StandardOutput=inherit +StandardError=inherit +Restart=always +User=pi + +[Install] +WantedBy=default.target