feat: complete production workflow migration

This commit is contained in:
2026-08-06 14:29:57 +08:00
parent 7f215e79c4
commit 8df5266abb
448 changed files with 56937 additions and 14619 deletions
+23
View File
@@ -0,0 +1,23 @@
[Unit]
Description=GYXX Flow Python Scheduler
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
User=gyxx-flow
Group=gyxx-flow
WorkingDirectory=/opt/gyxx-flow
Environment=PYTHONUTF8=1
Environment=GYXX_PROJECT_ROOT=/opt/gyxx-flow
Environment=GYXX_DATA_ROOT=/var/lib/gyxx-flow
EnvironmentFile=-/etc/gyxx-flow/gyxx-flow.env
ExecStart=/opt/gyxx-flow/.venv/bin/python -m gyxx_flow schedule run
Restart=on-failure
RestartSec=10s
TimeoutStopSec=90s
KillSignal=SIGTERM
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target