feat: initialize managed portal

This commit is contained in:
Yoilun
2026-04-27 10:04:36 +08:00
commit d4e351df71
145 changed files with 13425 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
[Unit]
Description=People Flow RTSP Service
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
WorkingDirectory=__PROJECT_DIR__
User=__RUN_USER__
Group=__RUN_GROUP__
Environment=PYTHONUNBUFFERED=1
ExecStart=__PROJECT_DIR__/.venv/bin/python __PROJECT_DIR__/main.py --config __CONFIG_PATH__ rtsp
Restart=always
RestartSec=5
StandardOutput=append:__PROJECT_DIR__/outputs/rtsp_run.log
StandardError=append:__PROJECT_DIR__/outputs/rtsp_run.log
[Install]
WantedBy=multi-user.target