浏览代码

Cookbook: Daemonizing: Fixed typo and wrong section placement

Ask Solem 15 年之前
父节点
当前提交
81a01789f3
共有 1 个文件被更改,包括 12 次插入12 次删除
  1. 12 12
      docs/cookbook/daemonizing.rst

+ 12 - 12
docs/cookbook/daemonizing.rst

@@ -158,26 +158,17 @@ Available options
 * CELERYBEAT_GROUP
 * CELERYBEAT_GROUP
     Group to run celeryd as. Default is current user.
     Group to run celeryd as. Default is current user.
 
 
-`supervisord`_
-==============
-
-* `contrib/supervisord/`_
-
-.. _`contrib/supervisord/`:
-    http://github.com/ask/celery/tree/master/contrib/supervisord/
-.. _`supervisord`: http://supervisord.org/
-
-Trobuleshooting
+Troubleshooting
 ---------------
 ---------------
 
 
-If you can't get the init scripts to work you should try running
+If you can't get the init scripts to work, you should try running
 them in *verbose mode*::
 them in *verbose mode*::
 
 
     $ sh -x /etc/init.d/celeryd start
     $ sh -x /etc/init.d/celeryd start
 
 
 This can reveal hints as to why the service won't start.
 This can reveal hints as to why the service won't start.
 
 
-Also you will see the commands generated, you can try to run the celeryd
+Also you will see the commands generated, so you can try to run the celeryd
 command manually to read the resulting error output.
 command manually to read the resulting error output.
 
 
 For example my ``sh -x`` output does this::
 For example my ``sh -x`` output does this::
@@ -194,6 +185,15 @@ actual resulting output::
         -f /var/log/celeryd.log -l INFO
         -f /var/log/celeryd.log -l INFO
 
 
 
 
+`supervisord`_
+==============
+
+* `contrib/supervisord/`_
+
+.. _`contrib/supervisord/`:
+    http://github.com/ask/celery/tree/master/contrib/supervisord/
+.. _`supervisord`: http://supervisord.org/
+
 launchd (OS X)
 launchd (OS X)
 ==============
 ==============