From 3a4c95ebba46b191d2c23ba1accf66c1eaeed5a1 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 23 Jan 2020 18:00:30 -0500 Subject: [PATCH] Update README.md --- systemd/README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/systemd/README.md b/systemd/README.md index 1bce6657..326916b2 100644 --- a/systemd/README.md +++ b/systemd/README.md @@ -1,14 +1,16 @@ To make the CubeSat Simulator transmit automatically on boot, follow these steps, which were derived from https://www.raspberrypi.org/documentation/linux/usage/systemd.md -On the Pi, if you are not already in this directory: - -cd systemd +Log into the Pi and type: sudo cp ~/CubeSatSim/cubesatsim.service /etc/systemd/system/cubesatsim.service sudo systemctl service enable cubesatsim -Now after a reboot (sudo reboot now), the demo.sh script will run automatically, and the console will log to ~/CubeSatSim/log.txt To see it: +Reboot to start the autoboot service: + +sudo reboot now + +Now after the Pi starts up, the demo.sh script will run automatically, and the console will log to ~/CubeSatSim/log.txt To see it: tail ~/CubeSatSim/log.txt