First commit

This commit is contained in:
proitlab committed 2026-06-30 18:49:39 +07:00
1 parent 4f70c7f8d5
commit dc8dcca75e
17 files changed
+4382 -2

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
[Unit]
Description=Edge ByteTrack Counter (RTSP + RKNN) — Go
Documentation=file:///opt/bytetrack-counter-go/DEPLOY.md
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=root
Group=root
WorkingDirectory=/opt/bytetrack-counter-go
EnvironmentFile=/opt/bytetrack-counter-go/.env
Environment=PATH=/usr/local/bin:/usr/bin:/bin
ExecStart=/opt/bytetrack-counter-go/counter
TimeoutStopSec=30
KillSignal=SIGTERM
Restart=on-failure
RestartSec=10
StartLimitInterval=120s
StartLimitBurst=5
NoNewPrivileges=true
ProtectHome=true
PrivateTmp=false
[Install]
WantedBy=multi-user.target