I do not recommend using tracd.exe as a Windows service, however you could use IIS with HttpPlatformHandler to serve Trac.
See https://learn.microsoft.com/en-us/visualstudio/python/configure-web-apps-for-iis-windows <https://learn.microsoft.com/en-us/visualstudio/python/configure-web-apps-for-iis-windows?view=vs-2022> -- Jun Omae <[email protected]> (大前 潤) On Tue, Apr 23, 2024 at 1:53 Jamie <[email protected]> wrote: > Hi all, > Does anyone have experience with running trac as a windows service? > > I've tried various methods including the python script provided in trac > hacks, .bat files etc. > > The issue I hit is that it starts trac ok, but stopping it stops the > service but tracd keeps running in the background thus trac doesn't stop. > > Any thoughts on how to fix this or working examples would be appreciated. > Just need a way to ensure trac starts and stops as a service rather than > just using cmd. Stand alone server btw. > > -- > You received this message because you are subscribed to the Google Groups > "Trac Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/trac-users/8842658a-5f35-44f7-a9c3-992ef60797ebn%40googlegroups.com > <https://groups.google.com/d/msgid/trac-users/8842658a-5f35-44f7-a9c3-992ef60797ebn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAEVLMajN6RNhbtKs3Gh1W6iN9eMnf7hGOqWvjr4uzz6CFadFhA%40mail.gmail.com.
