# =============================================================================
# Runner Diagnostic Cleanup Service
# =============================================================================
# 部署: sudo cp runner-diag-cleanup.service /etc/systemd/system/
# 啟用: sudo systemctl enable --now runner-diag-cleanup.timer
# =============================================================================

[Unit]
Description=GitHub Actions Runner Diagnostic Cleanup
After=network.target

[Service]
Type=oneshot
User=wooo
Group=wooo
ExecStart=/home/wooo/actions-runner-awoooi/cleanup-runner-diag.sh
StandardOutput=journal
StandardError=journal

[Install]
WantedBy=multi-user.target
