I'm using redmine as a ticket manager, and I'd like to configure it to be run automatically when windows starts up.
How can I configure it to be run as a service?
--
Just asked the question to document it, I hope somebody may find it useful...
I'm using redmine as a ticket manager, and I'd like to configure it to be run automatically when windows starts up.
How can I configure it to be run as a service?
--
Just asked the question to document it, I hope somebody may find it useful...
gem install win32-service
sc create redmine binPath= "C:\Ruby23-x64\bin\rubyw -C E:\www\redmine-3.3.2\ service.rb"
whereE:\www\redmine-3.3.2\
is the path of the directory where the service.rb file is located andC:\Ruby23-x64\bin\rubyw
your Ruby installation pathbegin require 'win32/daemon' include Win32