Project

winsvc

0.0
Repository is gone
winsvc runs a Ruby process as a Windows service (SERVICE_WIN32_OWN_PROCESS) with correct service-control-manager integration: the control handler is pure C (no Ruby ever runs on an SCM thread), controls arrive on a Thread::Queue (fiber-scheduler cooperative), SERVICE_STOPPED is reported exactly once, and checkpoints are only ever honest. The same block runs unchanged as a console program for development. Includes a minimal installer (CreateServiceW, delayed auto-start, restart-on-failure recovery) and a correctly quoted sc.exe command generator. Windows MSVC (mswin) Ruby only.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 5.0
~> 13.0
~> 0.1, >= 0.1.1