Thanks for the responses, much appreciated. However I'm only using trac 
standalone server and nothing else. Dan unfortunately NSSM is no longer 
maintained.

Jiho thanks for the python link - I do have the script and it works to 
start the service the issue I have is with getting the service to stop 
while using tracd.

On Monday, April 22, 2024 at 8:23:32 PM UTC+1 jiho lee wrote:

> Hello,
>
> You might want to check out these two articles.
>
>
>    - 
>    
> https://thepythoncorner.com/posts/2018-08-01-how-to-create-a-windows-service-in-python/
>    - https://trac.edgewall.org/wiki/Gunicorn
>
>
> The first article explains how to register your Python program with 
> Windows Services.
>
> The second document describes how to get Trac to work with Gunicorn.
>
> Instead of using the trac -d command to run trac, I think it should work 
> with Gunicorn.
>
> Give it a try and good luck.
> ------------------------------------------------------------------------
> ------------------------------------
> There is a future society, but my future is not what others do.
> Dept. of Information Science, Graduate School, Korea National Open 
> University
>
>
> 2024년 4월 23일 (화) 오전 1:53, Jamie <jamiet...@gmail.com>님이 작성:
>
>> 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 trac-users+...@googlegroups.com.
>> 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 trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/6698e6ed-44fd-4458-873a-281d64d54ca5n%40googlegroups.com.

Reply via email to