Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 1.25 KB

ReadMe.md

File metadata and controls

11 lines (10 loc) · 1.25 KB

RedmineService is a C# Windows Service application that is used to control an instance of Redmine running on Windows via Apache and Thin.

The application was built Visual Studio 2015 (Community Version) and tested on Windows 7 using a version of Apache 2.4.16 compiled for Windows.

Requirements:

  • The service must be run with a local user account, not as LOCAL_SYSTEM, LOCAL_SERVICE or NETWORK_SERVICE. The install will prompt for a user and password.
  • A RUBY_HOME environment variable must be defined and must point the root of the Ruby installation directory (eg. c:\tools\ruby21-x64
  • A REDMINE_HOME environment variable must point to the root of the Redmine installation path.
  • Both environment variables must defined in the SYSTEM environment variable set so that the REDMINE user has access to them.

  • The application assumes you are already able to launch Redmine using 'thin start'. If that doesn't work, then this service won't work either.

    After building the application, you can install the application using 'InstallUtil'. Use 'InstallUtil RedmineService.exe' to install the service and 'InstallUtil /u RedmineService.exe' to uninstall it. Both instances must be run 'as adminstrator'