antoinemartin / django-windows-tools

Django application providing management commands to host Django projects in Windows environments
BSD 2-Clause "Simplified" License
51 stars 13 forks source link

Service doesn't terminate #27

Open poggenpower opened 6 years ago

poggenpower commented 6 years ago

Hi,

I like your work, but have an issues, that the service that was started fine, won't be terminated if I stop the service in the service.msc or via service.py stop.

If I run python manage.py process_tasks manually it terminates when pressing <ctrl> + c. Is there anything else needed to make the command stoppable?

Thanks. Thomas

mrbean-bremen commented 6 years ago

Thanks for the report - can you give a bit more background information please? What kind of service you are using, which Python version? Is SvcStop called at all?