Hi,
I followed
http://mrtn.me/blog/2012/07/04/django-on-windows-run-celery-as-a-windows-service/ and managed to get redis run as a service on Windows 7.
Now I tried to get the Celery processes to run as a service but keep getting the following error:
Traceback (most recent call last):
File "D:\python27\.virtualenvs\djellis\lib\site-packages\pywin32-218-py2.7-win32.egg\win32serviceutil.py", line 835, in SvcRun self.SvcDoRun()
File "D:\python27\.virtualenvs\djellis\lib\site-packages\django_windows_tools\service.py", line 227, in SvcDoRun self.start()
File "D:\python27\.virtualenvs\djellis\lib\site-packages\django_windows_tools\service.py", line 260, in start self.processes = start_commands(self.config)
File "D:\python27\.virtualenvs\djellis\lib\site-packages\django_windows_tools\service.py", line 134, in start_commands services = config.get(node_name, 'run') if config.has_section(node_name) else config.get('services', 'run')
File "D:\python27\Lib\ConfigParser.py", line 618, in get raise NoOptionError(option, section) NoOptionError: No option 'run' in section: 'services'
the services section of service.ini (which I copied from the link above) looks like this, so everything should be fine:
[services]
# Services to be run on all machines
run=celeryd
clean=d:\logs\celery.log
I also checked with ProcessMonitor if the service uses the correct ini file and it does.
Any idea what might be wrong?