瀏覽代碼

Merge pull request #133 from jean/master

Add some docs on installation and running.
Mike Naberezny 12 年之前
父節點
當前提交
06d1c0ea75
共有 2 個文件被更改,包括 28 次插入0 次删除
  1. 14 0
      docs/installing.rst
  2. 14 0
      docs/running.rst

+ 14 - 0
docs/installing.rst

@@ -82,6 +82,20 @@ Finally, run supervisor's ``python setup.py install``.
    need to be the root user to invoke ``python setup.py install``
    sucessfully for each package.
 
+Installing a distribution package
+---------------------------------
+
+Some Linux distributions such as Ubuntu have started to include Supervisor.
+However the packaged version will not be the very latest, and may include 
+distribution-specific configuration.
+
+Use the package management tools of your distribution to check availability; 
+e.g. on Ubuntu you can run ``apt-cache show supervisor``, and on CentOS
+you can run ``yum info supervisor``.
+
+Packaged Supervisor will normally already be integrated into the service
+management infrastructure of your distribution.
+
 Creating a Configuration File
 -----------------------------
 

+ 14 - 0
docs/running.rst

@@ -242,3 +242,17 @@ users and that all files installed by the supervisor package have
 your ``PYTHONPATH`` is sane and that all Python standard
 library files have adequate file permission protections.
 
+Running :program:`supervisord` automatically on startup
+--------------------------------------------------------
+
+If you are using a distribution-packaged version of Supervisor, it should
+already be integrated into the service management infrastructure of your
+distribution.
+
+There are user-contributed scripts for various operating systems at:
+https://github.com/Supervisor/initscripts
+
+There are some answers at Serverfault in case you get stuck:
+`How to automatically start supervisord on Linux (Ubuntu)`__
+
+.. __: http://serverfault.com/questions/96499/how-to-automatically-start-supervisord-on-linux-ubuntu