simplified autoboot

pull/16/head
alanbjohnston 6 years ago committed by GitHub
parent 7767ed4d67
commit 64a127928b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,10 +1,13 @@
[Unit] [Unit]
Description=My last command Description=My service
After=multi-user.target
[Service] [Service]
Type=simple
ExecStart=/home/pi/CubeSatSim/demo.sh > /home/pi/CubeSatSim/log.txt 2>&1 ExecStart=/home/pi/CubeSatSim/demo.sh > /home/pi/CubeSatSim/log.txt 2>&1
WorkingDirectory=/home/pi/CubeSatSim
StandardOutput=inherit
StandardError=inherit
Restart=always
User=root
[Install] [Install]
WantedBy=custom.target WantedBy=multi-user.target

Loading…
Cancel
Save

Powered by TurnKey Linux.