| 1 | = Run Trac as Windows Service = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | This a simple script to intall and run Trac as Windows service. |
| 6 | It supports Start and Stop command, and log messages to event log. |
| 7 | |
| 8 | This script design is inspired from TurboGears similar script. |
| 9 | |
| 10 | == Bugs/Feature Requests == |
| 11 | |
| 12 | Existing bugs and feature requests for WindowsServiceScript are |
| 13 | [report:9?COMPONENT=WindowsServiceScript here]. |
| 14 | |
| 15 | If you have any issues, create a |
| 16 | [http://trac-hacks.org/newticket?component=WindowsServiceScript&owner=flox new ticket]. |
| 17 | |
| 18 | == Download == |
| 19 | |
| 20 | Download the zipped source from [download:windowsservicescript here]. |
| 21 | |
| 22 | == Source == |
| 23 | |
| 24 | You can check out WindowsServiceScript from [http://trac-hacks.org/svn/windowsservicescript here] using Subversion, or [source:windowsservicescript browse the source] with Trac. |
| 25 | |
| 26 | == Example == |
| 27 | |
| 28 | 1. Copy file to 'C:\Python23\Scripts\' |
| 29 | 2. Edit "CONSTANTS SECTION" inside the script |
| 30 | 3. Install service: |
| 31 | cd/d c:\python23\scripts |
| 32 | ..\python tracservice.py install |
| 33 | 4. Run service |
| 34 | ..\python tracservice.py start |
| 35 | |
| 36 | |
| 37 | == Recent Changes == |
| 38 | |
| 39 | [[ChangeLog(windowsservicescript, 3)]] |
| 40 | |
| 41 | == Author/Contributors == |
| 42 | |
| 43 | '''Author:''' [wiki:flox] [[BR]] |
| 44 | '''Contributors:''' |