Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 219367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T18:50:17+00:00 2026-05-11T18:50:17+00:00

I’m using redmine as a ticket manager, and I’d like to configure it to

  • 0

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…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T18:50:18+00:00Added an answer on May 11, 2026 at 6:50 pm

    1. using webrick:

    ref: http://www.redmine.org/boards/1/topics/4123

    • Download and install the Windows NT Resource Kit from
      http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en

    • Create the service by running this command:

      path\INSTSRV.EXE your_service_name path\SRVANY.EXE
      

      in my case path is:

      "C:\Program Files\Windows NT Resource Kit\INSTSRV.EXE" redmine_webrick "C:\Program Files\Windows NT Resource Kit\SRVANY.EXE"
      

      could be also C:\Program Files\Windows Resource Kits\Tools\.

    • Run regedit (Start -> Run -> regedit)

      • Add the following registry key if it’s not already there:

        HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\your_service_name

      • Right click on this registry key and select New -> Key. Name it Parameters.

      • Add two values to the Parameters key. Right click on the parameters key, New -> String Value. Name it Application. Now create another one named AppParameters. Give them the following values:

        • Application: PathToRuby.exe, eg. C:\ruby\bin\Ruby.exe
        • AppParameters: C:\RUBYAPP\script\server -e production, where RUBYAPP is the directory that contains the redmine website.

        Example: C:\redmine\script\server -p 2000 -e production (-p indicates the port webrick will be listening to, and -e the environment used)

    Now you can go to Administrative Tools -> Services. There you can start your service (the one with name your_service_name) and test whether or not it is working properly. It should be noted that the service will be marked as started prior to WEBrick finishing its boot procedure. You should give it 1min or so before trying to hit the service to verify that it is working correctly.

    2. using mongrel:

    ref: http://mongrel.rubyforge.org/wiki
    ref: http://mongrel.rubyforge.org/wiki/Win32

    first install mongrel and mongrel_service gem

    gem install mongrel
    
    gem install mongrel_service
    

    then create the service

    mongrel_rails service::install -N redmine_mongrel -c c:\redmine -p 3000 -e production
    

    3. using thin:

    References:

    • http://code.macournoyer.com/thin/
    • http://www.astarbe.com/es/trucos/windows/srvany_convierte_una_aplicacion_en_servicio

    Instructions:

    1. First install thin (you’ll need to install rack gem, if not already
      installed)

      gem install rack     
      gem install thin
      
    2. Follow the same steps indicated for webrick, but add another value named “AppDirectory”. This is needed in order to avoid using c:\ruby\bin\thin.bat If I just pointed to the bat file, I couldn’t stop the service.

      In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\redmine_thin\Parameters add the following keys:

      Application: c:\ruby\bin\ruby.exe

      AppDirectory: c:\redmine

      AppParameters: c:\ruby\bin\thin start -p 4000 -e production

    ——————————————————————————————

    You can control any of your service with the following commands:

    net start redmine_xxx

    net stop redmine_xxx

    sc config redmine_xxx start= auto

    sc config redmine_xxx start= auto dependency= MySql

    sc delete redmine_xxx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I would like to run a str_replace or preg_replace which looks for certain words
That's pretty much it. I'm using Nokogiri to scrape a web page what has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a jquery bug and I've been looking for hours now, I can't
I am reading a book about Javascript and jQuery and using one of the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.