Update project structure

This commit is contained in:
2026-06-19 18:10:43 +08:00
parent 52f1930f9a
commit 7083c45feb
24 changed files with 1718 additions and 2159 deletions
+18
View File
@@ -0,0 +1,18 @@
[Unit]
Description=Arm Server (TCP 5002 + Camera 5003)
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=pi
WorkingDirectory=/home/pi/work/arm_server
ExecStartPre=/bin/sleep 5
ExecStart=/usr/bin/python3 /home/pi/work/arm_server/arm_server.py
Restart=on-failure
RestartSec=5
StandardOutput=append:/home/pi/work/arm_server/stdout.log
StandardError=append:/home/pi/work/arm_server/stderr.log
[Install]
WantedBy=multi-user.target