parent
f831bf1a29
commit
808992cb5f
@ -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
|
||||||
Loading…
Reference in new issue