소스 검색

Merge branch 'miracle2k/master'

Ask Solem 15 년 전
부모
커밋
d10fa2ee28
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      celery/bin/celeryd.py

+ 2 - 2
celery/bin/celeryd.py

@@ -124,10 +124,10 @@ OPTION_LIST = (
             action="store_true", dest="detach",
             help="Run in the background as a daemon."),
     optparse.make_option('-u', '--uid', default=None,
-            action="store", dest="uid",
+            action="store", dest="uid", type="int",
             help="User-id to run celeryd as when in daemon mode."),
     optparse.make_option('-g', '--gid', default=None,
-            action="store", dest="gid",
+            action="store", dest="gid", type="int",
             help="Group-id to run celeryd as when in daemon mode."),
     optparse.make_option('--umask', default=0,
             action="store", type="int", dest="umask",