Ssh – Starting and stopping Mongrel service over SSH on Windows Server 2003

cygwinmongrelruby-on-railssshwindows-server-2003

I have a Rails app running under mongrel as a windows service on a Windows Server 2003 installation.

I'd like to automate deploying new versions of the app from my Ubuntu dev server.

Cygwin is installed on the Windows server for this purpose. I can connect in via ssh and net stop servicename but net start servicename doesn't bring the service up. My initial thoughts were maybe there are windows-specific paths involved in mongrel::service and under a cygwin environment it chokes?

Any help would be appreciated!

Best Answer

Have you tried it using a different command line util like sc.exe?