Changes between Version 15 and Version 16 of WindowsServiceScript
- Timestamp:
- Dec 8, 2015, 11:31:44 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WindowsServiceScript
v15 v16 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 = Run Trac as Windows Service =3 2 4 == Description == 3 = Run Trac as Windows Service 4 5 == Description 5 6 6 7 This a simple script to install and run Trac as Windows service. … … 9 10 This script design is inspired from [http://turbogears.org/ TurboGears] similar script. 10 11 11 == Bugs/Feature Requests ==12 == Bugs/Feature Requests 12 13 13 14 Existing [report:9?COMPONENT=WindowsServiceScript bugs and feature requests] for !WindowsServiceScript. 14 15 15 If you have any issues, create a [/newticket?component=WindowsServiceScript &owner=floxnew ticket].16 If you have any issues, create a [/newticket?component=WindowsServiceScript new ticket]. 16 17 17 == Source & Download == 18 [[TicketQuery(component=WindowsServiceScript&group=type,format=progress)]] 19 20 == Source & Download 18 21 19 22 Download and install [http://sourceforge.net/projects/pywin32/ Mark Hammond's Python for Windows Extensions]. 20 23 21 You can [http://trac-hacks.org/svn/windowsservicescript checkout] !WindowsServiceScript using Subversion, or [source:windowsservicescript browse the source] with Trac, or [download:windowsservicescript download] the zipped source.24 You can checkout WindowsServiceScript from [/svn/windowsservicescript here] using Subversion, or [source:windowsservicescript browse the source] with Trac, or [export:windowsservicescript download] the zipped source. 22 25 23 Download the script from , or [http://trac-hacks.org/browser/windowsservicescript viewscript].26 You can also [/browser/windowsservicescript view the script]. 24 27 25 == Usage ==28 == Usage 26 29 27 1. Copy file to '\Python23\Scripts\' 28 2. Edit CONSTANTS SECTION inside the script29 3. Install service:30 1. Copy file to '\Python23\Scripts\'. 31 1. Edit CONSTANTS SECTION inside the script. 32 1. Install service: 30 33 {{{ 31 #!sh 32 cd/d c:\python23\scripts 33 ..\python tracservice.py install 34 }}} 35 4. Run service 34 cd/d c:\python23\scripts 35 ..\python tracservice.py install 36 }}} 37 1. Run service: 36 38 {{{ 37 #!sh 38 ..\python tracservice.py start 39 }}} 39 ..\python tracservice.py start 40 }}} 40 41 41 42 '''Vista/Windows 7:''' You must run as administrator, or tracservice will be unable to manage the service. 42 43 43 == Recent Changes ==44 == Recent Changes 44 45 45 46 [[ChangeLog(windowsservicescript, 3)]] 46 47 47 == Author/Contributors ==48 == Author/Contributors 48 49 49 50 '''Author:''' [wiki:flox] [[BR]] 50 '''Maintainer:''' ''none''[[BR]]51 '''Maintainer:''' [[Maintainer]] [[BR]] 51 52 '''Contributors:''' 52 53 53 == Comments ==54 == Comments 54 55 55 56 Many thanks ! Script + 0.10 patch works for a multi project setup on 0.11.3. Script + 0.10 patch also works for 0.11.7 using Python 2.6.5 from [http://www.python.org/].