Changes between Version 65 and Version 66 of TracStandalone
- Timestamp:
- Mar 13, 2009, 8:53:05 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracStandalone
v65 v66 40 40 To exit the server on Windows, be sure to use {{{CTRL-BREAK}}} -- using {{{CTRL-C}}} will leave a Python process running in the background. 41 41 42 When running as a Windows service using a utility such as [http://www.google.com/search?q=srvany.exe SRVANY], stopping or restarting the service will also leave a Python process running. To end it, '''along with all other python processes currently running''', open a console and enter:42 To install as a Windows service, get the [http://www.google.com/search?q=srvany.exe SRVANY] utility and run: 43 43 {{{ 44 taskkill /f /im python.exe 44 C:\path\to\instsrv.exe tracd C:\path\to\srvany.exe 45 reg add HKLM\SYSTEM\CurrentControlSet\Services\tracd\Parameters /v Application /d "\"C:\path\to\python.exe\" \"C:\path\to\python\scripts\tracd-script.py\" <your tracd parameters>" 46 net start tracd 45 47 }}} 48 49 '''DO NOT''' use {{{tracd.exe}}}. Instead register {{{python.exe}}} directly with {{{tracd-script.py}}} as a parameter. If you use {{{tracd.exe}}}, it will spawn the python process without SRVANY's knowledge which process will survive a {{{net stop tracd}}}. 46 50 47 51 == Using Authentication ==