Browse Source

Merge branch 'miracle2k/master'

Ask Solem 15 years ago
parent
commit
d10fa2ee28
1 changed files with 2 additions and 2 deletions
  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",