Some checks failed
CD Pipeline / deploy (push) Failing after 59s
- 建立 Gitea Actions CD pipeline (.gitea/workflows/cd.yaml) - 部署模式: rsync Python 檔案至 188 → docker restart (volume mount) - Dockerfile/requirements 變動時自動重建 Docker image - 部署通知: Telegram (開始/成功/失敗) - 健康檢查: https://mo.wooo.work/health (最多 5 次重試) - 同步最新 CLAUDE.md / ADR-008 / memory (2026-04-19) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
29 lines
645 B
Desktop File
29 lines
645 B
Desktop File
[Unit]
|
||
Description=MOMO Pro System Complete Startup Service
|
||
Documentation=https://mo.wooo.work
|
||
After=docker.service k3s.service network-online.target
|
||
Wants=docker.service k3s.service network-online.target
|
||
Requires=docker.service
|
||
|
||
[Service]
|
||
Type=oneshot
|
||
RemainAfterExit=yes
|
||
WorkingDirectory=/home/wooo/momo_pro_system
|
||
|
||
# 等待系統完全啟動
|
||
ExecStartPre=/bin/sleep 60
|
||
|
||
# 執行啟動腳本
|
||
ExecStart=/home/wooo/momo_pro_system/scripts/tools/system_startup_complete.sh
|
||
|
||
# 超時設定(10分鐘)
|
||
TimeoutStartSec=600
|
||
|
||
# 日誌
|
||
StandardOutput=journal
|
||
StandardError=journal
|
||
SyslogIdentifier=momo-startup
|
||
|
||
[Install]
|
||
WantedBy=multi-user.target
|