Browse Source

Worker --detach must forward working_directory option. Closes #2003

Ask Solem 11 years ago
parent
commit
2dcc8de08e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      celery/bin/celeryd_detach.py

+ 1 - 0
celery/bin/celeryd_detach.py

@@ -30,6 +30,7 @@ logger = get_logger(__name__)
 C_FAKEFORK = os.environ.get('C_FAKEFORK')
 
 OPTION_LIST = daemon_options(default_pidfile='celeryd.pid') + (
+    Option('--workdir', default='/', dest='working_directory'),
     Option('--fake',
            default=False, action='store_true', dest='fake',
            help="Don't fork (for debugging purposes)"),