diff --git a/systemd/command.service b/systemd/command.service new file mode 100644 index 00000000..3f19fa8a --- /dev/null +++ b/systemd/command.service @@ -0,0 +1,16 @@ +[Unit] +Description=Command service + +[Service] +TimeoutStopSec=5 +ExecStart=/home/pi/CubeSatSim/command +WorkingDirectory=/home/pi/CubeSatSim +StandardOutput=inherit +StandardError=inherit +Restart=always +User=root +CPUAccounting=true +CPUQuota=5% + +[Install] +WantedBy=default.target