[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
