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 <jamietrac...@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+unsubscr...@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/CAPCiUfz-HoA%3DJ5gb1mYDii_JUd4QD2oYSEozya90CW%3DRRXnrgg%40mail.gmail.com.

Reply via email to