celeryd_multi bug - cannot pass working_directory

I was having issues regarding celeryd_multi. When I created daemon it didn't start. I traced down that init.d script passes working directory to celery, but celery doesn't use it.


    Traceback (most recent call last):
      File "/home/django/rop/manage.py", line 10, in <module>
        execute_from_command_line(sys.argv)
      File "/home/django/.virtualenv/rop/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 453, in execute_from_command_line
        utility.execute()
      File "/home/django/.virtualenv/rop/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
        self.fetch_command(subcommand).run_from_argv(self.argv)
      File "/home/django/.virtualenv/rop/local/lib/python2.7/site-packages/djcelery/management/commands/celeryd_detach.py", line 26, in run_from_argv
        detached().execute_from_commandline(argv)
      File "/home/django/.virtualenv/rop/local/lib/python2.7/site-packages/celery/bin/celeryd_detach.py", line 147, in execute_from_commandline
        **vars(options)))
      File "/home/django/.virtualenv/rop/local/lib/python2.7/site-packages/celery/bin/celeryd_detach.py", line 38, in detach
        with detached(logfile, pidfile, uid, gid, umask, working_directory, fake):
      File "/home/django/.virtualenv/rop/local/lib/python2.7/site-packages/celery/platforms.py", line 284, in open
        os.chdir(self.workdir)
    OSError: [Errno 13] Permission denied: '/root'