First Commit
This commit is contained in:
1 parent
267107ff05
commit
37fe4eee3a
53 files changed
+15098
-2
No files matched your search
@@ -0,0 +1,42 @@
|
||||
[Unit]
|
||||
Description=ByteTrack Object Detection Counter (C++ port)
|
||||
Documentation=https://github.com/ifzhang/ByteTrack
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
RequiresMountsFor=/opt
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
|
||||
WorkingDirectory=/opt/bytetrack-counter-cpp
|
||||
EnvironmentFile=/opt/bytetrack-counter-cpp/.env
|
||||
ExecStart=/opt/bytetrack-counter-cpp/build/bytetrack-counter
|
||||
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
RestartPreventExitStatus=0
|
||||
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=bytetrack-counter
|
||||
|
||||
LimitNOFILE=65536
|
||||
LimitNPROC=4096
|
||||
|
||||
NoNewPrivileges=no
|
||||
|
||||
ProtectSystem=strict
|
||||
ProtectHome=yes
|
||||
PrivateTmp=yes
|
||||
ReadWritePaths=/opt/bytetrack-counter-cpp /tmp /dev/shm/bytetrack-counter /opt/models
|
||||
ReadOnlyPaths=/etc
|
||||
|
||||
TimeoutStopSec=30
|
||||
KillMode=mixed
|
||||
KillSignal=SIGTERM
|
||||
SendSIGKILL=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user