Opened 7 years ago

Closed 7 years ago

#83 closed task (wontfix)

Install trac as a windows service

Reported by: cedric Owned by: cedric
Priority: minor Milestone: GT1 Build spatial database
Component: GT1 EDA datatool Version: EDA2.0
Keywords: Cc:

Change History (4)

comment:1 Changed 7 years ago by cedric

  • Owner set to cedric
  • Status changed from new to assigned

comment:2 Changed 7 years ago by cedric

  • Component changed from SIG-data to EDA datatool

comment:3 Changed 7 years ago by cedric

It is not possible to launch a python script as a windows service without using a dedicated python script. see [stackoverflow](https://stackoverflow.com/questions/32404/how-do-you-run-a-python-script-as-a-service-in-windows).
We have tried to use the following but was not compiling with python 2.7
https://trac-hacks.org/wiki/WindowsServiceScript
So we won't do it and keep note not to try it with something like
sc create trac binpath= "C:\Python27\Python.exe c:\Python27\AppServerSvc?.py" -p 8080 -e C:\path\to
it does not work

comment:4 Changed 7 years ago by cedric

  • Resolution set to wontfix
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.