Update README.md

pull/1/head
alanbjohnston 7 years ago committed by GitHub
parent 5f1739ede6
commit 8a5d446e9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,8 @@
cd systemd To make the CubeSat Simulator transmit automatically on boot, follow these steps, which were derived from https://www.mauras.ch/systemd-run-it-last.html
On the Pi, if you are not already in this directory:
cd ~/CubeSatSim/systemd
sudo cp custom.target /etc/systemd/system/custom.target sudo cp custom.target /etc/systemd/system/custom.target
@ -6,11 +10,10 @@ sudo mkdir /etc/systemd/system/custom.target.wants
sudo cp cubesatsim.service /etc/systemd/system/custom.target.wants/cubesatsim.service sudo cp cubesatsim.service /etc/systemd/system/custom.target.wants/cubesatsim.service
sudo systemctl list-units --type target --all
sudo systemctl isolate custom.target sudo systemctl isolate custom.target
sudo ln -sf /etc/systemd/system/custom.target /etc/systemd/system/default.target sudo ln -sf /etc/systemd/system/custom.target /etc/systemd/system/default.target
sudo reboot now 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:
tail ~/CubeSatSim/log.txt

Loading…
Cancel
Save

Powered by TurnKey Linux.