explain how to run as a windows service stable
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 09 Dec 2009 19:29:21 +0100
branchstable
changeset 4065 6e8da644d996
parent 4064 3b12e4192983
child 4095 72fd2d4cc782
explain how to run as a windows service
doc/book/en/admin/setup.rst
--- a/doc/book/en/admin/setup.rst	Wed Dec 09 19:01:53 2009 +0100
+++ b/doc/book/en/admin/setup.rst	Wed Dec 09 19:29:21 2009 +0100
@@ -226,6 +226,23 @@
 
 ... and get a meaningful output.
 
+Running an instance as a service
+--------------------------------
+
+This currently assumes that the instances configurations is located
+at C:\etc\cubicweb.d.
+
+For a cube 'my_cube', you will then find C:\etc\cubicweb.d\my_cube\win32svc.py
+that has to be used thusly::
+
+  win32svc install
+
+This should just register your instance as a windows service. A simple::
+
+  net start cubicweb-my_cube
+
+should start the service.
+
 
 PostgreSQL installation
 ```````````````````````