Skip to content

fix(windows): harden WinSW service management#75

Open
mowenliunian wants to merge 1 commit intoop7418:mainfrom
mowenliunian:fix/windows-service-management
Open

fix(windows): harden WinSW service management#75
mowenliunian wants to merge 1 commit intoop7418:mainfrom
mowenliunian:fix/windows-service-management

Conversation

@mowenliunian
Copy link
Copy Markdown

Summary

This PR improves the Windows service workflow for claude-to-im when running under WinSW.

Changes

  • fix argument passing in scripts/daemon.ps1
  • fix Windows path joining issues in scripts/supervisor-windows.ps1
  • avoid PowerShell $PID variable conflicts
  • prefer local tools/WinSW.exe when available
  • run WinSW/NSSM service with LocalSystem plus explicit user environment paths
  • add scripts/check-windows-service.ps1 for diagnostics
  • add scripts/tune-windows-service.ps1 for delayed auto-start and network dependencies

Why

These changes make Windows service startup and troubleshooting more reliable, especially for Codex + Feishu usage and boot-time auto-start scenarios.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant