| 62 | |
| 63 | {{{#!div |
| 64 | Once the service is installed, it might be simpler to run the Registry Editor rather than use the `reg add` command documented above. Navigate to:[[BR]] |
| 65 | `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tracd\Parameters` |
| 66 | |
| 67 | Three (string) parameters are provided: |
| 68 | ||!AppDirectory ||C:\Python26\ || |
| 69 | ||Application ||python.exe || |
| 70 | ||!AppParameters ||scripts\tracd-script.py -p 8080 ... || |
| 71 | |
| 72 | Note that, if the !AppDirectory is set as above, the paths of the executable ''and'' of the script name and parameter values are relative to the directory. This makes updating Python a little simpler because the change can be limited, here, to a single point. |
| 73 | (This is true for the path to the .htpasswd file, as well, despite the documentation calling out the /full/path/to/htpasswd; however, you may not wish to store that file under the Python directory.) |
| 74 | }}} |