2007/04/13

프로그램을 서비스 등록하기

    1. Run InstSrv with following arguments: InstSrv tracd SrvAny.exe. You can use any name instead of tracd here. Sometimes fully qualified name is required for SrvAny.exe.
    2. Run regedit and navigate to this key: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicestracd.
    3. Create subkey Parameters.
      1. Add Application string value with exact fully qualified path to python, e.g., C:Python24python.exe.
      2. Add AppParameters string value with following data: C:Python24Scriptstracd -p 8080 -a repo,C:Repositorytrac_passwd,SVN C:Repositorytracrepo. If you used different repository folder, change values accordingly. Make sure that full path to tracd is specified. Note that it is configured to run on 8080 TCP port.
    4. Run the service using the standard Windows Services panel.
    5. Test it with your browser.

댓글 없음: