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=Store Dwell Alert
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 -m app.main --config __CONFIG_PATH__
Restart=always
RestartSec=5
StandardOutput=append:__PROJECT_DIR__/logs/runtime.log
StandardError=append:__PROJECT_DIR__/logs/runtime.log
[Install]
WantedBy=multi-user.target